import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AuthStartRequestSubjectMobileAuthenticatorOTP = { /** * If AllowMobileNumberRePrompt is true, the end user will have up to 3 attempts * * @remarks * to re-enter their phone number during a Prove Auth flow. * If false, the end user won't be able to provide a new phone number. */ allowMobileNumberRePrompt?: boolean | undefined; /** * If AllowOtpRetry is set to true, the end user will have up to 3 OTP entry attempts in a Prove Auth flow. If * * @remarks * false, the end user will only get 1 OTP attempt. Once the maximum number of attempts is reached, the auth flow * will return an error. */ allowOtpRetry?: boolean | undefined; /** * MessageText is the message that will be sent to end user with the one-time passcode (OTP) represented by pound * * @remarks * signs. The number of pound signs should be equal to the OTP length */ messageText: string; testMode?: string | undefined; }; /** @internal */ export declare const AuthStartRequestSubjectMobileAuthenticatorOTP$inboundSchema: z.ZodType; /** @internal */ export type AuthStartRequestSubjectMobileAuthenticatorOTP$Outbound = { allowMobileNumberRePrompt?: boolean | undefined; allowOtpRetry?: boolean | undefined; messageText: string; testMode?: string | undefined; }; /** @internal */ export declare const AuthStartRequestSubjectMobileAuthenticatorOTP$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AuthStartRequestSubjectMobileAuthenticatorOTP$ { /** @deprecated use `AuthStartRequestSubjectMobileAuthenticatorOTP$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AuthStartRequestSubjectMobileAuthenticatorOTP$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AuthStartRequestSubjectMobileAuthenticatorOTP$Outbound` instead. */ type Outbound = AuthStartRequestSubjectMobileAuthenticatorOTP$Outbound; } export declare function authStartRequestSubjectMobileAuthenticatorOTPToJSON(authStartRequestSubjectMobileAuthenticatorOTP: AuthStartRequestSubjectMobileAuthenticatorOTP): string; export declare function authStartRequestSubjectMobileAuthenticatorOTPFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=authstartrequestsubjectmobileauthenticatorotp.d.ts.map