import { FC } from 'react'; import { IRequestUserDTO } from '@digitaldefiance/suite-core-lib'; import { LoginFormProps } from '../components/LoginForm'; export interface LoginFormWrapperProps { onSuccess?: () => void; redirectTo?: string; componentProps?: Partial>; /** * Called when the user submits a TOTP verification code during login. * Typically wired to `AuthService.verifyTotpLogin(pendingTotpToken, code)`. * When not provided, the wrapper cannot complete TOTP-protected logins. */ onVerifyTotp?: (code: string, pendingTotpToken: string) => Promise<{ token: string; user: IRequestUserDTO; } | { error: string; }>; } export declare const LoginFormWrapper: FC; //# sourceMappingURL=LoginFormWrapper.d.ts.map