import { KioskChannelAuthenticationPolicy, KioskCustomerMember, KioskIdentificationMethod, KioskVerificationCodeMethod, KioskVerificationMethod } from "./types.js"; //#region src/components/kioskCustomerAuth/policy.d.ts declare const KIOSK_VERIFICATION_VALUE_MAX_LENGTH = 1024; declare const KIOSK_VERIFICATION_CODE_MINUTES: { readonly sms: 15; readonly email_code: 30; }; declare const KIOSK_IDENTIFICATION_METHODS: readonly KioskIdentificationMethod[]; /** Supported verification methods per identification method (independent of merchant toggles). */ declare const SUPPORTED_KIOSK_VERIFICATION_METHODS: Record; declare function getKioskVerificationCodeTiming(method: KioskVerificationCodeMethod, requestedAt: number, retryAfterSeconds?: number): { retryAt: number; expiresAt: number; }; declare function createEmptyKioskAuthenticationPolicy(intents: readonly Intent[]): KioskChannelAuthenticationPolicy; /** * Parses formal channel identification DTO entries into a normalized policy. * Missing or malformed entries stay closed. Hardware-disabled methods (e.g. `scan` * on devices without a barcode reader) are forcibly disabled even if toggled on remotely. */ declare function parseKioskChannelAuthentication(rawEntries: unknown, intents: readonly Intent[], options?: { disabledIdentificationMethods?: readonly KioskIdentificationMethod[]; intentSettingsKeys?: Partial>; }): KioskChannelAuthenticationPolicy; declare function getEnabledKioskIdentificationMethods(policy: KioskChannelAuthenticationPolicy): KioskIdentificationMethod[]; declare function hasKioskCustomerIdentifier(member: KioskCustomerMember, method: KioskIdentificationMethod): boolean; declare function canVerifyKioskCustomerWithMethod(member: KioskCustomerMember, method: KioskVerificationMethod): boolean; declare function resolveKioskCustomerVerification(policy: KioskChannelAuthenticationPolicy, identificationMethod: KioskIdentificationMethod, intent: Intent, member: KioskCustomerMember): { available: boolean; requireVerification: boolean; verificationMethods: KioskVerificationMethod[]; }; /** Local comparison for `last4` and `full` phone verification (no backend M9 request). */ declare function verifyKioskPhoneLocally(method: 'last4' | 'full', memberMobile: string, inputValue: string): boolean; //#endregion export { KIOSK_IDENTIFICATION_METHODS, KIOSK_VERIFICATION_CODE_MINUTES, KIOSK_VERIFICATION_VALUE_MAX_LENGTH, SUPPORTED_KIOSK_VERIFICATION_METHODS, canVerifyKioskCustomerWithMethod, createEmptyKioskAuthenticationPolicy, getEnabledKioskIdentificationMethods, getKioskVerificationCodeTiming, hasKioskCustomerIdentifier, parseKioskChannelAuthentication, resolveKioskCustomerVerification, verifyKioskPhoneLocally };