/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const REMOVE_TOKEN_METADATA_KEY_DISCRIMINATOR: Uint8Array; export declare function getRemoveTokenMetadataKeyDiscriminatorBytes(): ReadonlyUint8Array; export type RemoveTokenMetadataKeyInstruction = string, TAccountUpdateAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMetadata extends string ? WritableAccount : TAccountMetadata, TAccountUpdateAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountUpdateAuthority, ...TRemainingAccounts ]>; export type RemoveTokenMetadataKeyInstructionData = { discriminator: ReadonlyUint8Array; /** * If the idempotent flag is set to true, then the instruction will not * error if the key does not exist */ idempotent: boolean; /** Key to remove in the additional metadata portion. */ key: string; }; export type RemoveTokenMetadataKeyInstructionDataArgs = { /** * If the idempotent flag is set to true, then the instruction will not * error if the key does not exist */ idempotent?: boolean; /** Key to remove in the additional metadata portion. */ key: string; }; export declare function getRemoveTokenMetadataKeyInstructionDataEncoder(): Encoder; export declare function getRemoveTokenMetadataKeyInstructionDataDecoder(): Decoder; export declare function getRemoveTokenMetadataKeyInstructionDataCodec(): Codec; export type RemoveTokenMetadataKeyInput = { metadata: Address; updateAuthority: TransactionSigner; idempotent?: RemoveTokenMetadataKeyInstructionDataArgs['idempotent']; key: RemoveTokenMetadataKeyInstructionDataArgs['key']; }; export declare function getRemoveTokenMetadataKeyInstruction(input: RemoveTokenMetadataKeyInput, config?: { programAddress?: TProgramAddress; }): RemoveTokenMetadataKeyInstruction; export type ParsedRemoveTokenMetadataKeyInstruction = { programAddress: Address; accounts: { metadata: TAccountMetas[0]; updateAuthority: TAccountMetas[1]; }; data: RemoveTokenMetadataKeyInstructionData; }; export declare function parseRemoveTokenMetadataKeyInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedRemoveTokenMetadataKeyInstruction; //# sourceMappingURL=removeTokenMetadataKey.d.ts.map