import type { CurrentUser } from './AuthContext.js'; import type { AuthImplementation } from './AuthImplementation.js'; export type CustomProviderHooks = { useCurrentUser?: () => Promise; useHasRole?: (currentUser: CurrentUser | null) => (rolesToCheck: string | string[]) => boolean; }; export declare function createAuthentication(authImplementation: AuthImplementation, customProviderHooks?: { useCurrentUser?: () => Promise; useHasRole?: (currentUser: CurrentUser | null) => (rolesToCheck: string | string[]) => boolean; }): { AuthContext: import("react").Context | undefined>; AuthProvider: ({ children }: import("./AuthProvider/AuthProvider.js").AuthProviderProps) => import("react").JSX.Element; useAuth: () => import("./AuthContext.js").AuthContextInterface; }; //# sourceMappingURL=authFactory.d.ts.map