export declare function useUser(): {
    user: {
        id: number;
        publicId: string;
        name: string | null;
        email: string | null;
        emailVerifiedAt: Date | null;
        globalRole: number;
        password: string | null;
        organizationId: number | null;
        accounts: {
            id: number;
            publicId: string;
            name: string;
            organizationRole: number;
            organization: {
                id: number;
                publicId: string;
                name: string;
            };
        }[];
        extension: {
            [x: string]: any;
        };
    };
    loading: boolean;
    error: {
        [x: string]: unknown;
    };
};
//# sourceMappingURL=useUser.d.ts.map