import { SessionClaimValidator, SessionClaim } from "../session"; import { MFAClaimValue, MFARequirementList, RecipeInterface } from "./types"; /** * We include "Class" in the class name, because it makes it easier to import/use the right thing (the instance exported by the recipe) instead of this. * */ export declare class MultiFactorAuthClaimClass implements SessionClaim { protected getRecipeImpl: () => RecipeInterface; id: string; validators: { hasCompletedMFARequirementsForAuth: () => SessionClaimValidator; hasCompletedFactors: (requirements: MFARequirementList) => SessionClaimValidator; }; constructor(getRecipeImpl: () => RecipeInterface); refresh(userContext: any): Promise; getValueFromPayload( payload: any, _userContext?: any ): | { c: Record; v: boolean; } | undefined; getLastFetchedTime(payload: any, _userContext?: any): number | undefined; }