// @ts-nocheck import Recipe from "./recipe"; import { RecipeInterface, APIOptions, APIInterface } from "./types"; import { SessionContainerInterface } from "../session/types"; import { FactorIds } from "./types"; import { MultiFactorAuthClaimClass } from "./multiFactorAuthClaim"; export default class Wrapper { static init: typeof Recipe.init; static MultiFactorAuthClaim: MultiFactorAuthClaimClass; static FactorIds: { EMAILPASSWORD: string; WEBAUTHN: string; OTP_EMAIL: string; OTP_PHONE: string; LINK_EMAIL: string; LINK_PHONE: string; THIRDPARTY: string; TOTP: string; }; static assertAllowedToSetupFactorElseThrowInvalidClaimError(session: SessionContainerInterface, factorId: string, userContext?: Record): Promise; static getMFARequirementsForAuth(session: SessionContainerInterface, userContext?: Record): Promise; static markFactorAsCompleteInSession(session: SessionContainerInterface, factorId: string, userContext?: Record): Promise; static getFactorsSetupForUser(userId: string, userContext?: Record): Promise; static getRequiredSecondaryFactorsForUser(userId: string, userContext?: Record): Promise; static addToRequiredSecondaryFactorsForUser(userId: string, factorId: string, userContext?: Record): Promise; static removeFromRequiredSecondaryFactorsForUser(userId: string, factorId: string, userContext?: Record): Promise; } export declare let init: typeof Recipe.init; export declare let assertAllowedToSetupFactorElseThrowInvalidClaimError: typeof Wrapper.assertAllowedToSetupFactorElseThrowInvalidClaimError; export declare let markFactorAsCompleteInSession: typeof Wrapper.markFactorAsCompleteInSession; export declare let getFactorsSetupForUser: typeof Wrapper.getFactorsSetupForUser; export declare let getRequiredSecondaryFactorsForUser: typeof Wrapper.getRequiredSecondaryFactorsForUser; export declare let getMFARequirementsForAuth: typeof Wrapper.getMFARequirementsForAuth; export declare const addToRequiredSecondaryFactorsForUser: typeof Wrapper.addToRequiredSecondaryFactorsForUser; export declare const removeFromRequiredSecondaryFactorsForUser: typeof Wrapper.removeFromRequiredSecondaryFactorsForUser; export declare const MultiFactorAuthClaim: MultiFactorAuthClaimClass; export { FactorIds }; export type { RecipeInterface, APIOptions, APIInterface };