/// <reference types="node" />
import { MessageType } from '../MessageType';
import { IDlcMessage } from './DlcMessage';
/**
 * DlcCancel message contains information about a node's desire to cancel
 * a DLC contract negotiation.
 */
export declare class DlcCancel implements IDlcMessage {
    static type: MessageType;
    /**
     * Deserializes a dlc_cancel message
     * @param buf
     */
    static deserialize(buf: Buffer): DlcCancel;
    /**
     * The type for dlc_cancel message. dlc_cancel = 52172
     */
    type: MessageType;
    contractId: Buffer;
    cancelType: CancelType;
    /**
     * Serializes the dlc_cancel message into a Buffer
     */
    serialize(): Buffer;
}
export declare enum CancelType {
    Unknown = 0,
    Market = 1,
    Error = 2
}
export declare const DlcCancelV0: typeof DlcCancel;
