export type User = {
    id: number;
    name: string;
    email: string;
    avatar?: string;
    email_verified_at: string | null;
    two_factor_enabled?: boolean;
    credit?: number;
    active?: boolean;
    first_name?: string | null;
    last_name?: string | null;
    company?: string | null;
    phone?: string | null;
    username?: string | null;
    groups?: string[];
    is_admin?: boolean;
    is_member?: boolean;
    is_developer?: boolean;
    created_at: string;
    updated_at: string;
    [key: string]: unknown;
};

export type Auth = {
    user: User;
};

export type Passkey = {
    id: number;
    name: string;
    authenticator: string | null;
    created_at_diff: string;
    last_used_at_diff: string | null;
};

export type TwoFactorConfigContent = {
    title: string;
    description: string;
    buttonText: string;
};
