@datamonsterr/vdt-dashboard
Version:
11 lines • 449 B
TypeScript
import type { UserResource } from '@clerk/types';
export interface AuthContextType {
user: UserResource | null | undefined;
isLoaded: boolean;
isSignedIn: boolean | undefined;
signOut: () => Promise<void>;
getToken: () => Promise<string | null>;
}
export declare const AuthContext: import("react").Context<AuthContextType | undefined>;
export declare function useAuth(): AuthContextType;
//# sourceMappingURL=AuthContext.d.ts.map