import { t as Manager } from "./Manager-CQQ99QOI.js"; //#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts type CustomWatchlistResult = 'success' | 'skipped'; declare const customWatchlistMachine: any; //#endregion //#region src/modules/custom-watchlist/customWatchlistManager.d.ts type CustomWatchlistIdleState = { status: 'idle'; }; type CustomWatchlistProcessingState = { status: 'processing'; }; type CustomWatchlistSuccessState = { status: 'success'; }; type CustomWatchlistFinishedState = { status: 'finished'; result: CustomWatchlistResult; }; /** * Union of all possible custom watchlist manager states. * * @example * ```typescript * const state = customWatchlistManager.getState(); * if (state.status === 'finished') { * console.log('Custom watchlist check complete'); * } * ``` */ type CustomWatchlistState = CustomWatchlistIdleState | CustomWatchlistProcessingState | CustomWatchlistSuccessState | CustomWatchlistFinishedState; /** * Creates a custom watchlist manager for headless or UI-driven usage. * * @example Headless usage * ```typescript * const manager = createCustomWatchlistManager(); * manager.subscribe((state) => console.log(state.status)); * manager.load(); * ``` */ declare function createCustomWatchlistManager(): Manager & { /** * Kicks off the custom watchlist check. * Transitions from 'idle' to 'processing'. */ load(): void; }; type CustomWatchlistManager = ReturnType; //#endregion //#region src/modules/custom-watchlist/types.d.ts /** * Configuration for the custom watchlist module (INCODE_WATCHLIST flow key). * * These fields are supplied by the backend flow configuration and control * backend-side behaviour. They are not forwarded in the API request body — * the module is fire-and-forget from the client's perspective. */ type CustomWatchlistConfig = { failIfFaceOnBlocklist: boolean; addSuspectedFraudAutomatically: boolean; autoExecution: boolean; }; //#endregion export { type CustomWatchlistConfig, type CustomWatchlistManager, type CustomWatchlistState, createCustomWatchlistManager, customWatchlistMachine };