import type * as NetlifyIdentityNS from 'netlify-identity-widget'; import type { CurrentUser } from '@cedarjs/auth'; type NetlifyIdentity = typeof NetlifyIdentityNS; export declare function createAuth(netlifyIdentity: NetlifyIdentity, customProviderHooks?: { useCurrentUser?: () => Promise; useHasRole?: (currentUser: CurrentUser | null) => (rolesToCheck: string | string[]) => boolean; }): { AuthContext: import("react").Context | undefined>; AuthProvider: ({ children }: import("@cedarjs/auth").AuthProviderProps) => import("react").JSX.Element; useAuth: () => import("@cedarjs/auth").AuthContextInterface; }; export {}; //# sourceMappingURL=netlify.d.ts.map