import { ToBTCWrapper } from "./ToBTCWrapper"; import { IToBTCSwap, IToBTCSwapInit } from "../IToBTCSwap"; import { SwapType } from "../../../enums/SwapType"; import { ChainType, SwapData } from "@atomiqlabs/base"; import { BtcToken, TokenAmount } from "../../../../Tokens"; export type ToBTCSwapInit = IToBTCSwapInit & { address: string; amount: bigint; confirmationTarget: number; satsPerVByte: number; requiredConfirmations: number; nonce: bigint; }; export declare function isToBTCSwapInit(obj: any): obj is ToBTCSwapInit; export declare class ToBTCSwap extends IToBTCSwap { protected readonly outputToken: BtcToken; protected readonly TYPE = SwapType.TO_BTC; protected readonly wrapper: ToBTCWrapper; private readonly address; private readonly amount; private readonly confirmationTarget; private readonly satsPerVByte; private readonly requiredConfirmations; private readonly nonce; private txId?; constructor(wrapper: ToBTCWrapper, serializedObject: any); constructor(wrapper: ToBTCWrapper, init: ToBTCSwapInit); _setPaymentResult(result: { secret?: string; txId?: string; }, check?: boolean): Promise; getOutput(): TokenAmount>; /** * Returns the bitcoin address where the BTC will be sent to */ getOutputAddress(): string; getOutputTxId(): string | null; /** * Returns fee rate of the bitcoin transaction in sats/vB */ getBitcoinFeeRate(): number; serialize(): any; }