import { AddressLookupTableAccount, PublicKey, TransactionInstruction, VersionedTransaction } from '@solana/web3.js'; import { Account, AccountRole, Address, Instruction, Transaction } from '@solana/kit'; import { AddressLookupTable } from '@solana-program/address-lookup-table'; export declare function fromLegacyPublicKey(legacy: PublicKey): Address; export declare function toLegacyPublicKey(address: Address): PublicKey; export declare function fromLegacyInstructions(...legacy: TransactionInstruction[]): Instruction[]; export declare function fromLegacyInstruction(legacy: TransactionInstruction): Instruction; export declare function toLegacyInstructions(...instructions: Instruction[]): TransactionInstruction[]; export declare function fromLegacyLookupTables(...account: AddressLookupTableAccount[]): Account[]; export declare function fromLegacyLookupTable(lut: AddressLookupTableAccount): Account; export declare function toLegacyLookupTables(...account: Account[]): AddressLookupTableAccount[]; export declare function determineRole(isSigner: boolean, isWritable: boolean): AccountRole; export declare function fromLegacyVersionedTransaction(transaction: VersionedTransaction, lookupTableAccounts: Account[]): Transaction | undefined; export declare function fromLegacyVersionedTransactionWithAddressLookupTable(transaction: VersionedTransaction, addressLookupTableAccounts: AddressLookupTableAccount[]): Transaction; export declare function toLegacyVersionedTransaction(transaction: Transaction, lookupTableAccounts: Account[]): VersionedTransaction; export declare function extractLutAddressesFromTransaction(transaction: Transaction): Address[]; //# sourceMappingURL=compat.d.ts.map