import type { AuthFlowRouter, AuthFlowRoutes, OtpValidateFn } from '../types';
/** Props for the `AuthFlow` orchestrator. */
export interface AuthFlowProps {
    /**
     * Optional router adapter. When supplied alongside `routes`, the SDK
     * keeps `state.step` and the URL in sync (forward, back/forward, deep
     * links). Omit both to render as a single-screen flow with no URL.
     */
    router?: AuthFlowRouter;
    /**
     * Optional map of `AuthStep → URL path`. Steps omitted from the map
     * render without changing the URL.
     */
    routes?: AuthFlowRoutes;
    /**
     * Optional consumer-supplied OTP validator. Runs after the built-in
     * 6-digit check and before the kit fires `verifyOtp` — return `true` to
     * accept, or a string message to surface as the field error.
     */
    validateOtp?: OtpValidateFn;
    /**
     * Optional override for the Enterprise Login CTA in the method-select
     * header. When provided, replaces the default redirect to docthub.com.
     */
    onEnterpriseLogin?: () => void;
}
/**
 * Auth flow orchestrator ("auto" mode): renders the correct page component based on the current flow state.
 * Consumer wraps with `SSOAuthProvider` and drops `AuthFlow` in — the SDK handles all transitions.
 *
 * Pass `router` + `routes` to make the flow URL-aware: each step gets its
 * own URL, browser back/forward Just Works, and deep-linkable steps
 * (METHOD_SELECT / PHONE_ENTRY / EMAIL_ENTRY) can be opened directly.
 */
export declare function AuthFlow({ router, routes, validateOtp, onEnterpriseLogin, }?: AuthFlowProps): import("react/jsx-runtime").JSX.Element | null;
