/** * 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, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export type FanoutMembershipMintVoucher = Account; export type FanoutMembershipMintVoucherAccountData = { discriminator: Array; fanout: PublicKey; fanoutMint: PublicKey; lastInflow: bigint; bumpSeed: number; }; export type FanoutMembershipMintVoucherAccountDataArgs = { fanout: PublicKey; fanoutMint: PublicKey; lastInflow: number | bigint; bumpSeed: number; }; /** @deprecated Use `getFanoutMembershipMintVoucherAccountDataSerializer()` without any argument instead. */ export declare function getFanoutMembershipMintVoucherAccountDataSerializer(_context: object): Serializer; export declare function getFanoutMembershipMintVoucherAccountDataSerializer(): Serializer; /** @deprecated Use `deserializeFanoutMembershipMintVoucher(rawAccount)` without any context instead. */ export declare function deserializeFanoutMembershipMintVoucher(context: object, rawAccount: RpcAccount): FanoutMembershipMintVoucher; export declare function deserializeFanoutMembershipMintVoucher(rawAccount: RpcAccount): FanoutMembershipMintVoucher; export declare function fetchFanoutMembershipMintVoucher(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function safeFetchFanoutMembershipMintVoucher(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function fetchAllFanoutMembershipMintVoucher(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function safeFetchAllFanoutMembershipMintVoucher(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function getFanoutMembershipMintVoucherGpaBuilder(context: Pick): import("@metaplex-foundation/umi").GpaBuilder; fanout: PublicKey; fanoutMint: PublicKey; lastInflow: number | bigint; bumpSeed: number; }>; export declare function getFanoutMembershipMintVoucherSize(): number; export declare function findFanoutMembershipMintVoucherPda(context: Pick, seeds: { /** The address of the fanout account */ fanout: PublicKey; /** The address of the membership account */ membership: PublicKey; /** The address of the mint account */ mint: PublicKey; }): Pda; export declare function fetchFanoutMembershipMintVoucherFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise; export declare function safeFetchFanoutMembershipMintVoucherFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise;