import { Contextual } from '../types/context.js'; import { ByteString, Int32 } from '../types/index.js'; import { OpcatState } from '../types/primitives.js'; import { AbstractContract } from '../abstractContract.js'; /** * @ignore * Builds a change output for a PSBT (Partially Signed Bitcoin Transaction). * * @param psbt - The contextual PSBT containing change information. * @returns The serialized change output as a ByteString. Returns empty ByteString if no change script exists. */ export declare function buildChangeOutputImpl(psbt: Contextual): ByteString; /** * @ignore * Builds a state output for an OP_CAT enabled smart contract. * * @param self - The contract instance * @param state - The contract state to serialize * @param satoshis - The amount in satoshis for the output * @param script - The locking script for the output * @returns The built output as ByteString * @throws Throws if script is empty */ export declare function buildStateOutputImpl(self: AbstractContract, state: T, satoshis: Int32, scriptHash: ByteString): ByteString; //# sourceMappingURL=buildOutput.d.ts.map