import { PublicKey, TransactionInstruction } from './types/solana-types'; import { Keypair } from './keypair'; export declare class Transaction { signatures: Array<{ signature: Uint8Array | null; publicKey: PublicKey; }>; feePayer?: PublicKey; instructions: TransactionInstruction[]; recentBlockhash?: string; constructor(opts?: { feePayer?: PublicKey; recentBlockhash?: string; }); add(instruction: TransactionInstruction): Transaction; private compileMessage; serializeMessage(): Uint8Array; private encodeLength; sign(...signers: Keypair[]): void; serialize(): Uint8Array; static from(buffer: Uint8Array): Transaction; }