import { ISwap } from "../ISwap"; import { ChainType } from "@atomiqlabs/base"; export type SwapWithSigner = { [K in keyof T]: K extends "commit" ? (abortSignal?: AbortSignal, skipChecks?: boolean) => Promise : K extends "refund" ? (abortSignal?: AbortSignal) => Promise : K extends "claim" ? (abortSignal?: AbortSignal) => Promise : K extends "commitAndClaim" ? (abortSignal?: AbortSignal, skipChecks?: boolean) => Promise : T[K]; }; export declare function wrapSwapWithSigner>(swap: T, signer: C["Signer"]): SwapWithSigner;