import React from "react"; import type { AuthContextValue } from "./types"; export declare function AuthProvider({ children, basePath, usernameField, }: { children: React.ReactNode; /** Where the auth route handlers live. Same-origin by default. */ basePath?: string; /** Identifier field posted on login/register. "email" (default) or "username". */ usernameField?: string; }): import("react/jsx-runtime").JSX.Element; export declare function useAuth(): AuthContextValue;