import { TransactionMessage, TransactionVersion } from './transaction-message'; import { TransactionMessageWithinSizeLimit } from './transaction-message-size'; type SupportedTransactionVersion = Exclude; type TransactionConfig = Readonly<{ version: TVersion; }>; type EmptyTransactionMessage = Omit, 'instructions'> & TransactionMessageWithinSizeLimit & { instructions: readonly []; }; /** * Given a {@link TransactionVersion} this method will return an empty transaction having the * capabilities of that version. * * @example * ```ts * import { createTransactionMessage } from '@solana/transaction-messages'; * * const message = createTransactionMessage({ version: 0 }); * ``` */ export declare function createTransactionMessage(config: TransactionConfig): EmptyTransactionMessage; export {}; //# sourceMappingURL=create-transaction-message.d.ts.map