/// <reference types="node" />
import { SmartBuffer } from 'smart-buffer';
import { OPCode } from './opcode';
/**
 * @param {OPCode[]} stack of OPCode
 * @return Buffer presentation of OPCode[]
 */
export declare function toBuffer(stack: OPCode[]): Buffer;
/**
 * @param {Buffer} buffer to read without VarUInt
 * @return OPCode[]
 */
export declare function toOPCodes(buffer: SmartBuffer): OPCode[];
//# sourceMappingURL=_buffer.d.ts.map