export interface AuthUser {
    id: number;
    name: string;
    discord_avatar: string | null;
    two_factor_confirmed: boolean;
    roles: string[];
    permissions: string[];
}

export interface SharedProps {
    auth: {
        user: AuthUser | null;
    };
    flash: {
        success: string | null;
        error: string | null;
    };
    [key: string]: unknown;
}
