export interface AdminRootProps {
    config: any;
    session: any;
    basePath?: string;
    initialPath?: string;
    setupRequired?: boolean;
    onSetupComplete?: (data: {
        name: string;
        email: string;
        password: string;
    }) => Promise<{
        success: boolean;
        error?: string;
    }>;
    onLogin?: (email: string, password: string, captchaToken?: string) => Promise<{
        success: boolean;
        error?: string;
        requiresTOTP?: boolean;
        mfaPendingToken?: string;
    }>;
    /** Completes the TOTP second-factor step for accounts with MFA enabled. */
    onVerifyTotp?: (mfaPendingToken: string, code: string) => Promise<{
        success: boolean;
        error?: string;
    }>;
    /**
     * Clears the consumer-held session (e.g. `setSession(null)`) after the admin
     * has revoked the server-side session. Server revocation + cookie clearing is
     * handled inside the admin, so consumers only need to reset their local state.
     */
    onLogout?: () => void | Promise<void>;
    captchaConfig?: {
        provider: 'recaptcha' | 'turnstile' | 'none';
        siteKey: string | null;
    };
}
export declare function AdminRoot(props: AdminRootProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=AdminRoot.d.ts.map