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