/** * 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 CollectionAuthorityRecord = Account; export type CollectionAuthorityRecordAccountData = { key: Key; bump: number; updateAuthority: Option; }; export type CollectionAuthorityRecordAccountDataArgs = { bump: number; updateAuthority: OptionOrNullable; }; export declare function getCollectionAuthorityRecordAccountDataSerializer(): Serializer; export declare function deserializeCollectionAuthorityRecord(rawAccount: RpcAccount): CollectionAuthorityRecord; export declare function fetchCollectionAuthorityRecord(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function safeFetchCollectionAuthorityRecord(context: Pick, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions): Promise; export declare function fetchAllCollectionAuthorityRecord(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function safeFetchAllCollectionAuthorityRecord(context: Pick, publicKeys: Array, options?: RpcGetAccountsOptions): Promise; export declare function getCollectionAuthorityRecordGpaBuilder(context: Pick): import("@metaplex-foundation/umi").GpaBuilder; }>; export declare function findCollectionAuthorityRecordPda(context: Pick, seeds: { /** The address of the mint account */ mint: PublicKey; /** The address of the collection authority */ collectionAuthority: PublicKey; }): Pda; export declare function fetchCollectionAuthorityRecordFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise; export declare function safeFetchCollectionAuthorityRecordFromSeeds(context: Pick, seeds: Parameters[1], options?: RpcGetAccountOptions): Promise;