import { SwapStatus, type SwapStatusEvent } from '@layerswap/widget-types'; /** The identity of a status notification: a backend status change for one swap. */ export type SwapStatusIdentity = Pick; /** * Every non-identity field of a status notification. These are a snapshot at * transition time and never trigger or repeat a delivery. Adding a field to * SwapStatusEvent fails check:types until it is classified here. */ export declare const SWAP_STATUS_CONTEXT_FIELDS: readonly Exclude[]; /** Notification policy is applied after observation, never before recording the baseline. */ export declare const REPORTED_SWAP_STATUSES: ReadonlySet; /** One backend history per widget, independent of modal lifetime and wallet attempts. */ export declare function createSwapStatusObserver(): { created(swapId: string): void; observe(event: Pick): boolean; }; //# sourceMappingURL=swapStatusObserver.d.ts.map