export declare const useAuth: (redirectIfNotAuthenticated?: string) => { user: import("..").User | null; isAuthenticated: boolean; loading: boolean; isLoaded: boolean; loginError: Record | null; login: (credentials: import("..").LoginPayload) => Promise; logout: () => void; socialLogin: (payload: import("..").SocialProvider) => void; };