import { type Blockhash, type TransactionSigner } from '@solana/kit'; import type { ServerInstruction } from './on-chain.js'; interface RpcWithBlockhash { getLatestBlockhash: (config?: { commitment?: 'confirmed' | 'finalized' | 'processed'; }) => { send: () => Promise<{ value: { blockhash: Blockhash; lastValidBlockHeight: bigint; }; }>; }; } /** * Compile a list of instructions into a signed v0 transaction's base64 wire * bytes. Fetches a recent blockhash from `rpc`, sets `signer` as the fee * payer, signs, and encodes. * * This is the canonical `buildAndSignWireTransaction` callback for * `submitSettleAndDistribute` — keeping the kit/RPC plumbing in one place so * `closeAndSettleChannel` doesn't have to know about transaction messages. */ export declare function buildAndSignWireTransaction(rpc: RpcWithBlockhash, signer: TransactionSigner, instructions: readonly ServerInstruction[]): Promise; export {}; //# sourceMappingURL=wire-tx.d.ts.map