/** * This code was AUTOGENERATED using the kinobi library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun kinobi to update it. * * @see https://github.com/metaplex-foundation/kinobi */ import { Account, Context, Option, OptionOrNullable, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export type AddressLookupTable = Account; export type AddressLookupTableAccountData = { discriminator: number; deactivationSlot: bigint; lastExtendedSlot: bigint; lastExtendedStartIndex: number; authority: Option; padding: number; addresses: Array; }; export type AddressLookupTableAccountDataArgs = { deactivationSlot: number | bigint; lastExtendedSlot: number | bigint; lastExtendedStartIndex: number; authority: OptionOrNullable; addresses: Array; }; export declare function getAddressLookupTableAccountDataSerializer(): Serializer; export declare function deserializeAddressLookupTable(rawAccount: RpcAccount): AddressLookupTable; export declare function fetchAddressLookupTable(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function safeFetchAddressLookupTable(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function fetchAllAddressLookupTable(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function safeFetchAllAddressLookupTable(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function getAddressLookupTableGpaBuilder(context: Pick): import("@metaplex-foundation/umi").GpaBuilder; padding: number; addresses: Array; }>; export declare function findAddressLookupTablePda(context: Pick, seeds: { /** The address of the LUT's authority */ authority: PublicKey; /** The recent slot associated with the LUT */ recentSlot: number | bigint; }): Pda; export declare function fetchAddressLookupTableFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise; export declare function safeFetchAddressLookupTableFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise;