/** * 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'; import { Key, KeyArgs } from '../types'; export type MasterEdition = Account; export type MasterEditionAccountData = { key: Key; supply: bigint; maxSupply: Option; }; export type MasterEditionAccountDataArgs = { supply: number | bigint; maxSupply: OptionOrNullable; }; export declare function getMasterEditionAccountDataSerializer(): Serializer; export declare function deserializeMasterEdition(rawAccount: RpcAccount): MasterEdition; export declare function fetchMasterEdition(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function safeFetchMasterEdition(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function fetchAllMasterEdition(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function safeFetchAllMasterEdition(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function getMasterEditionGpaBuilder(context: Pick): import("@metaplex-foundation/umi").GpaBuilder; }>; export declare function findMasterEditionPda(context: Pick, seeds: { /** The address of the mint account */ mint: PublicKey; }): Pda; export declare function fetchMasterEditionFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise; export declare function safeFetchMasterEditionFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise;