import type { InterceptorFunction, InterceptorPoint, InterceptorRegisterOptions, InterceptorOverlayContext } from "./types"; /** Register a session-scoped interceptor for a named point. Callback is serialized to the host. */ declare function register(point: InterceptorPoint, callback: InterceptorFunction, options: InterceptorRegisterOptions): string; declare function unregister(interceptorId: string): void; /** Register a handler invoked when this iframe is opened as an overlay by the host. */ declare function onOverlay(handler: (ctx: InterceptorOverlayContext) => void): void; /** Continue the gated flow, merging `data` into the flow payload. */ declare function resolve(data: Record): Promise; /** Continue the gated flow with no data. */ declare function proceed(): Promise; /** Stop the gated flow. */ declare function cancel(): Promise; export declare const interceptors: { register: typeof register; unregister: typeof unregister; onOverlay: typeof onOverlay; resolve: typeof resolve; proceed: typeof proceed; cancel: typeof cancel; }; export type { InterceptorFunction, InterceptorPoint, InterceptorRegisterOptions, InterceptorReturn, InterceptorOverlayContext, InterceptorHostCommands } from "./types";