import { BufferComposer, ComposableBuffer } from '@muirglacier/jellyfish-buffer'; /** * DeFi Transaction * [OP_RETURN, OP_PUSHDATA] Custom Transaction */ export interface DfTx { signature: number; type: number; data: T; /** * Not composed into buffer, for readability only. * * Name of operation in human readable string. * Structured as 'OP_DEFI_TX_<...>' */ name: string; } /** * Composable DfTx, C stands for Composable. * Immutable by design, bi-directional fromBuffer, toBuffer deep composer. */ export declare class CDfTx extends ComposableBuffer> { static SIGNATURE: number; composers(dftx: DfTx): BufferComposer[]; /** * Signature read/write with error handling if not recognized */ static signature(dftx: DfTx): BufferComposer; /** * Operation data read/write composing */ static data(dftx: DfTx): BufferComposer; } //# sourceMappingURL=dftx.d.ts.map