import { MFAChallengePurpose } from "../../gen/auth/v1/mfa_pb.js"; import * as v from "valibot"; //#region src/services/mfa/mfa.schemas.d.ts declare const MfaSessionInfoSchema: v.SchemaWithPipe; readonly sessionLevel: v.SchemaWithPipe, v.TransformAction]>; readonly authenticationMethods: v.OptionalSchema, undefined>, readonly []>; readonly authTime: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTime?: number | undefined; }, { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; }>]>; type MfaSessionInfo = v.InferOutput; declare const MfaFactorSchema: v.SchemaWithPipe; readonly factorType: v.SchemaWithPipe, v.TransformAction]>; readonly label: v.StringSchema; readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly lastUsedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAt?: number | undefined; lastUsedAt?: number | undefined; }, { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; }>]>; type MfaFactor = v.InferOutput; declare const ListMfaFactorsResponseSchema: v.ObjectSchema<{ readonly factors: v.OptionalSchema; readonly factorType: v.SchemaWithPipe, v.TransformAction]>; readonly label: v.StringSchema; readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly lastUsedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAt?: number | undefined; lastUsedAt?: number | undefined; }, { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; }>]>, undefined>, readonly []>; readonly hasRecoveryCodes: v.OptionalSchema, false>; }, undefined>; type ListMfaFactorsResult = v.InferOutput; declare const BeginTotpEnrollmentInputSchema: v.StrictObjectSchema<{ readonly label: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type BeginTotpEnrollmentInput = v.InferInput; declare const BeginTotpEnrollmentResultSchema: v.ObjectSchema<{ readonly enrollmentId: v.StringSchema; readonly secret: v.StringSchema; readonly otpauthUri: v.StringSchema; readonly expiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>; type BeginTotpEnrollmentResult = v.InferOutput; declare const FinishTotpEnrollmentInputSchema: v.StrictObjectSchema<{ readonly enrollmentId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly code: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type FinishTotpEnrollmentInput = v.InferInput; declare const FinishTotpEnrollmentResultSchema: v.SchemaWithPipe; readonly factorType: v.SchemaWithPipe, v.TransformAction]>; readonly label: v.StringSchema; readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly lastUsedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAt?: number | undefined; lastUsedAt?: number | undefined; }, { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; }>]>, undefined>; readonly recoveryCodes: v.OptionalSchema, undefined>, readonly []>; readonly session: v.OptionalSchema; readonly sessionLevel: v.SchemaWithPipe, v.TransformAction]>; readonly authenticationMethods: v.OptionalSchema, undefined>, readonly []>; readonly authTime: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTime?: number | undefined; }, { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; }>]>, undefined>; readonly accessToken: v.OptionalSchema, "">; readonly accessTokenExpiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factor?: { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; } | undefined; recoveryCodes: string[]; session?: { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; } | undefined; accessToken: string; accessTokenExpiresAt?: number | undefined; }, { factor: { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; } | undefined; recoveryCodes: string[]; session: { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; } | undefined; accessToken: string | undefined; accessTokenExpiresAtMs: number | undefined; }>]>; type FinishTotpEnrollmentResult = v.InferOutput; declare const BeginPasskeyEnrollmentInputSchema: v.StrictObjectSchema<{ readonly label: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type BeginPasskeyEnrollmentInput = v.InferInput; declare const BeginPasskeyEnrollmentResultSchema: v.ObjectSchema<{ readonly enrollmentId: v.StringSchema; readonly publicKey: v.OptionalSchema, undefined>; readonly expiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>; type BeginPasskeyEnrollmentResult = v.InferOutput; declare const FinishPasskeyEnrollmentInputSchema: v.StrictObjectSchema<{ readonly enrollmentId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly credential: v.CustomSchema; }, undefined>; type FinishPasskeyEnrollmentInput = v.InferInput; declare const FinishPasskeyEnrollmentResultSchema: v.SchemaWithPipe; readonly factorType: v.SchemaWithPipe, v.TransformAction]>; readonly label: v.StringSchema; readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly lastUsedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAt?: number | undefined; lastUsedAt?: number | undefined; }, { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; }>]>, undefined>; readonly recoveryCodes: v.OptionalSchema, undefined>, readonly []>; readonly session: v.OptionalSchema; readonly sessionLevel: v.SchemaWithPipe, v.TransformAction]>; readonly authenticationMethods: v.OptionalSchema, undefined>, readonly []>; readonly authTime: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTime?: number | undefined; }, { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; }>]>, undefined>; readonly accessToken: v.OptionalSchema, "">; readonly accessTokenExpiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factor?: { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; } | undefined; recoveryCodes: string[]; session?: { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; } | undefined; accessToken: string; accessTokenExpiresAt?: number | undefined; }, { factor: { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; } | undefined; recoveryCodes: string[]; session: { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; } | undefined; accessToken: string | undefined; accessTokenExpiresAtMs: number | undefined; }>]>; type FinishPasskeyEnrollmentResult = v.InferOutput; declare const BeginMfaChallengeInputSchema: v.SchemaWithPipe; }, undefined>, v.TransformAction<{ purpose: "freshStepUp" | "sessionElevation"; }, { purpose: MFAChallengePurpose.MFA_CHALLENGE_PURPOSE_SESSION_ELEVATION | MFAChallengePurpose.MFA_CHALLENGE_PURPOSE_FRESH_STEP_UP; }>]>; type BeginMfaChallengeInput = v.InferInput; declare const BeginMfaChallengeResultSchema: v.ObjectSchema<{ readonly challengeId: v.StringSchema; readonly allowedFactorTypes: v.SchemaWithPipe, undefined>, v.TransformAction]>; readonly publicKey: v.OptionalSchema, undefined>; readonly expiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>; type BeginMfaChallengeResult = v.InferOutput; declare const VerifyTotpChallengeInputSchema: v.StrictObjectSchema<{ readonly challengeId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly code: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type VerifyTotpChallengeInput = v.InferInput; declare const FinishPasskeyChallengeInputSchema: v.StrictObjectSchema<{ readonly challengeId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly credential: v.CustomSchema; }, undefined>; type FinishPasskeyChallengeInput = v.InferInput; declare const VerifyRecoveryCodeChallengeInputSchema: v.StrictObjectSchema<{ readonly challengeId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly recoveryCode: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type VerifyRecoveryCodeChallengeInput = v.InferInput; declare const CompleteMfaChallengeResultSchema: v.SchemaWithPipe; readonly sessionLevel: v.SchemaWithPipe, v.TransformAction]>; readonly authenticationMethods: v.OptionalSchema, undefined>, readonly []>; readonly authTime: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTime?: number | undefined; }, { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; }>]>, undefined>; readonly accessToken: v.StringSchema; readonly accessTokenExpiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly stepUpToken: v.StringSchema; readonly stepUpExpiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ session?: { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; } | undefined; accessToken: string; accessTokenExpiresAt?: number | undefined; stepUpToken: string; stepUpExpiresAt?: number | undefined; }, { session: { sessionId: string; sessionLevel: "unspecified" | "primaryAuthenticated" | "mfaElevated" | "freshStepUp"; authenticationMethods: string[]; authTimeMs: number | undefined; } | undefined; accessToken: string | undefined; accessTokenExpiresAtMs: number | undefined; stepUpToken: string | undefined; stepUpExpiresAtMs: number | undefined; }>]>; type CompleteMfaChallengeResult = v.InferOutput; declare const DeleteMfaFactorInputSchema: v.StrictObjectSchema<{ readonly factorId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type DeleteMfaFactorInput = v.InferInput; declare const UpdateMfaFactorInputSchema: v.StrictObjectSchema<{ readonly factorId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly label: v.SchemaWithPipe, v.MaxLengthAction]>; }, undefined>; type UpdateMfaFactorInput = v.InferInput; declare const UpdateMfaFactorResultSchema: v.ObjectSchema<{ readonly factor: v.OptionalSchema; readonly factorType: v.SchemaWithPipe, v.TransformAction]>; readonly label: v.StringSchema; readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly lastUsedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, v.TransformAction<{ factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAt?: number | undefined; lastUsedAt?: number | undefined; }, { factorId: string; factorType: "unspecified" | "totp" | "passkey" | "recoveryCode"; label: string; createdAtMs: number | undefined; lastUsedAtMs: number | undefined; }>]>, undefined>; }, undefined>; type UpdateMfaFactorResult = v.InferOutput; declare const RegenerateRecoveryCodesInputSchema: v.StrictObjectSchema<{}, undefined>; type RegenerateRecoveryCodesInput = v.InferInput; declare const RegenerateRecoveryCodesResultSchema: v.ObjectSchema<{ readonly recoveryCodes: v.OptionalSchema, undefined>, readonly []>; }, undefined>; type RegenerateRecoveryCodesResult = v.InferOutput; declare const ClaimFreshStepUpInputSchema: v.StrictObjectSchema<{ readonly requestId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly actionType: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly subject: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type ClaimFreshStepUpInput = v.InferInput; declare const ClaimFreshStepUpResultSchema: v.ObjectSchema<{ readonly stepUpId: v.StringSchema; readonly claimNonce: v.StringSchema; readonly claimExpiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>; type ClaimFreshStepUpResult = v.InferOutput; declare const ConsumeFreshStepUpInputSchema: v.StrictObjectSchema<{ readonly stepUpId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly requestId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly actionType: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly subject: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly claimNonce: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type ConsumeFreshStepUpInput = v.InferInput; declare const ReleaseFreshStepUpInputSchema: v.StrictObjectSchema<{ readonly stepUpId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly requestId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly actionType: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly subject: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly claimNonce: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly reason: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type ReleaseFreshStepUpInput = v.InferInput; //#endregion export { BeginMfaChallengeInput, BeginMfaChallengeInputSchema, BeginMfaChallengeResult, BeginMfaChallengeResultSchema, BeginPasskeyEnrollmentInput, BeginPasskeyEnrollmentInputSchema, BeginPasskeyEnrollmentResult, BeginPasskeyEnrollmentResultSchema, BeginTotpEnrollmentInput, BeginTotpEnrollmentInputSchema, BeginTotpEnrollmentResult, BeginTotpEnrollmentResultSchema, ClaimFreshStepUpInput, ClaimFreshStepUpInputSchema, ClaimFreshStepUpResult, ClaimFreshStepUpResultSchema, CompleteMfaChallengeResult, CompleteMfaChallengeResultSchema, ConsumeFreshStepUpInput, ConsumeFreshStepUpInputSchema, DeleteMfaFactorInput, DeleteMfaFactorInputSchema, FinishPasskeyChallengeInput, FinishPasskeyChallengeInputSchema, FinishPasskeyEnrollmentInput, FinishPasskeyEnrollmentInputSchema, FinishPasskeyEnrollmentResult, FinishPasskeyEnrollmentResultSchema, FinishTotpEnrollmentInput, FinishTotpEnrollmentInputSchema, FinishTotpEnrollmentResult, FinishTotpEnrollmentResultSchema, ListMfaFactorsResponseSchema, ListMfaFactorsResult, MfaFactor, MfaFactorSchema, MfaSessionInfo, MfaSessionInfoSchema, RegenerateRecoveryCodesInput, RegenerateRecoveryCodesInputSchema, RegenerateRecoveryCodesResult, RegenerateRecoveryCodesResultSchema, ReleaseFreshStepUpInput, ReleaseFreshStepUpInputSchema, UpdateMfaFactorInput, UpdateMfaFactorInputSchema, UpdateMfaFactorResult, UpdateMfaFactorResultSchema, VerifyRecoveryCodeChallengeInput, VerifyRecoveryCodeChallengeInputSchema, VerifyTotpChallengeInput, VerifyTotpChallengeInputSchema }; //# sourceMappingURL=mfa.schemas.d.ts.map