import { AuthenticationPolicy, LockerIntent, SmartLockerConfiguration } from "../types.js"; //#region src/components/smartLocker/services/configuration.d.ts declare const SMART_LOCKER_IDENTIFICATION_KEY = "customer_auth.smart_locker_identification_methods"; type SmartLockerIdentificationId = 'scan' | 'phone_number' | 'email'; type SmartLockerVerificationId = 'phone_last4' | 'phone_full' | 'account_password' | 'sms_code' | 'email_code'; interface SmartLockerVerificationSettings { requireVerification: boolean; methods: Array<{ id: SmartLockerVerificationId; enabled: boolean; }>; } interface SmartLockerIdentificationSettings { id: SmartLockerIdentificationId; enabled: boolean; settings: Record; } /** The literal field name and arrays supplied by the channel configuration. */ interface SmartLockerChannelSettings { 'customer_auth.smart_locker_identification_methods': SmartLockerIdentificationSettings[]; } /** Other channel/storage settings remain separate from the identification DTO. */ interface SmartLockerConfigurationSource extends Omit { channelSettings: SmartLockerChannelSettings; } /** Missing/malformed fields stay closed; duplicate known IDs use their first entry. */ declare function parseSmartLockerAuthentication(channelSettings: unknown): AuthenticationPolicy; /** Used by initial loading and configuration refresh; pages receive only the domain model. */ declare function adaptSmartLockerConfiguration(source: SmartLockerConfigurationSource): SmartLockerConfiguration; //#endregion export { SMART_LOCKER_IDENTIFICATION_KEY, SmartLockerChannelSettings, SmartLockerConfigurationSource, SmartLockerIdentificationId, SmartLockerIdentificationSettings, SmartLockerVerificationId, SmartLockerVerificationSettings, adaptSmartLockerConfiguration, parseSmartLockerAuthentication };