export type CompleteExchangeStep = "INIT" | "SET_PARTNER_KEY" | "CHECK_PARTNER" | "PROCESS_TRANSACTION" | "CHECK_TRANSACTION_SIGNATURE" | "CHECK_PAYOUT_ADDRESS" | "CHECK_REFUND_ADDRESS" | "SIGN_COIN_TRANSACTION";
export declare class CompleteExchangeError extends Error {
    step: CompleteExchangeStep;
    title?: string;
    constructor(step: CompleteExchangeStep, title?: string, message?: string);
}
export declare function convertTransportError(step: CompleteExchangeStep, err: unknown): CompleteExchangeError | unknown;
export declare function getSwapStepFromError(error: Error): string;
//# sourceMappingURL=error.d.ts.map