/// <reference types="node" />
import { MessageType } from '../MessageType';
import { IDlcMessage } from './DlcMessage';
export declare abstract class DlcCancel {
    static deserialize(buf: Buffer): DlcCancelV0;
    abstract type: number;
    abstract serialize(): Buffer;
}
/**
 * DlcOffer message contains information about a node and indicates its
 * desire to enter into a new contract. This is the first step toward
 * creating the funding transaction and CETs.
 */
export declare class DlcCancelV0 extends DlcCancel implements IDlcMessage {
    static type: MessageType;
    /**
     * Deserializes an offer_dlc_v0 message
     * @param buf
     */
    static deserialize(buf: Buffer): DlcCancelV0;
    /**
     * The type for cancel_dlc_v0 message. cancel_dlc_v0 = 52172
     */
    type: MessageType;
    contractId: Buffer;
    cancelType: CancelType;
    /**
     * Serializes the offer_dlc_v0 message into a Buffer
     */
    serialize(): Buffer;
}
export declare enum CancelType {
    Unknown = 0,
    Market = 1,
    Error = 2
}
