/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { SCOPE_PROGRAM_ADDRESS } from "../programs"; export declare const CLOSE_MINT_MAP_DISCRIMINATOR: Uint8Array; export declare function getCloseMintMapDiscriminatorBytes(): ReadonlyUint8Array; export type CloseMintMapInstruction = string, TAccountConfiguration extends string | AccountMeta = string, TAccountMappings extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdmin, TAccountConfiguration extends string ? ReadonlyAccount : TAccountConfiguration, TAccountMappings extends string ? WritableAccount : TAccountMappings, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type CloseMintMapInstructionData = { discriminator: ReadonlyUint8Array; }; export type CloseMintMapInstructionDataArgs = {}; export declare function getCloseMintMapInstructionDataEncoder(): FixedSizeEncoder; export declare function getCloseMintMapInstructionDataDecoder(): FixedSizeDecoder; export declare function getCloseMintMapInstructionDataCodec(): FixedSizeCodec; export type CloseMintMapInput = { admin: TransactionSigner; configuration: Address; mappings: Address; systemProgram?: Address; }; export declare function getCloseMintMapInstruction(input: CloseMintMapInput, config?: { programAddress?: TProgramAddress; }): CloseMintMapInstruction; export type ParsedCloseMintMapInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; configuration: TAccountMetas[1]; mappings: TAccountMetas[2]; systemProgram: TAccountMetas[3]; }; data: CloseMintMapInstructionData; }; export declare function parseCloseMintMapInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCloseMintMapInstruction; //# sourceMappingURL=closeMintMap.d.ts.map