import { type DepositAction, type GaslessAuthorizationResult } from '../lib/apiClients/layerSwapApiClient'; import { type ApprovalTransaction } from '../context/swap'; export declare const depositActionsKey: (swapId: string, sourceAddress: string) => string; /** The swap provider schedules the requests; execution only observes the same snapshots the UI renders. */ export declare function useDepositActionPolling(swapId: string | undefined, sourceAddress: string | undefined, executing: boolean): { data: DepositAction[] | undefined; refresh: (activeSwapId: string, address: string) => Promise; waitForTransition: (options: WaitForTransitionOptions) => Promise; }; export type DepositActionTransition = { actions: DepositAction[]; authorization?: GaslessAuthorizationResult; }; type WaitForTransitionOptions = { swapId: string; sourceAddress: string; previousAction: DepositAction; approvalTransaction?: Pick; signal: AbortSignal; }; export {}; //# sourceMappingURL=useDepositActionPolling.d.ts.map