import { type SwapStatus, type SwapStatusEvent } from '@layerswap/widget-types'; import type { SwapStatusIdentity } from '../lib/swapStatusObserver'; export { REPORTED_SWAP_STATUSES } from '../lib/swapStatusObserver'; /** Snapshot fields of a status notification; never part of its identity. */ export type SwapStatusContext = Omit; /** * Provider-owned observation of every committed backend status, before notification filtering. * The first status seen for a swap only opened from a URL or history is its state * at load and is not reported; explicitly created swaps can report their first status. * The signature is the trigger set: only the swap id and the API status can start * a notification. Context (path, addresses, route) is read from a ref at emission * time, so later enrichment neither re-triggers nor is lost. */ export declare function useSwapStatusNotification(swapId: string | undefined, status: SwapStatus | undefined, context: SwapStatusContext): void; //# sourceMappingURL=useSwapStatusNotification.d.ts.map