export interface User {
    id: string
    email?: string
    phone?: string
    created_at: string
    updated_at: string
    last_sign_in_at?: string
    email_confirmed_at?: string
    phone_confirmed_at?: string
    invited_at?: string
    confirmation_sent_at?: string
    banned_until?: string
    factors?: {
      id: string
      factor_type: string
      created_at: string
      updated_at: string
    }[]
    raw_user_meta_data?: Record<string, any>
    raw_app_meta_data?: Record<string, any>
  }
  
  export interface CreateUserParams {
    email: string
    password: string
    phone?: string
    user_metadata?: Record<string, any>
    email_confirm?: boolean
  }
  
  export interface UpdateUserParams {
    email?: string
    phone?: string
    password?: string
    user_metadata?: Record<string, any>
  }
  
  export interface InviteUserParams {
    email: string
    user_metadata?: Record<string, any>
  }
  
  