/** * 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 ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { SCOPE_PROGRAM_ADDRESS } from "../programs"; export declare const CREATE_MINT_MAP_DISCRIMINATOR: Uint8Array; export declare function getCreateMintMapDiscriminatorBytes(): ReadonlyUint8Array; export type CreateMintMapInstruction = 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 CreateMintMapInstructionData = { discriminator: ReadonlyUint8Array; seedPk: Address; seedId: bigint; bump: number; scopeChains: Array>; }; export type CreateMintMapInstructionDataArgs = { seedPk: Address; seedId: number | bigint; bump: number; scopeChains: Array>; }; export declare function getCreateMintMapInstructionDataEncoder(): Encoder; export declare function getCreateMintMapInstructionDataDecoder(): Decoder; export declare function getCreateMintMapInstructionDataCodec(): Codec; export type CreateMintMapInput = { admin: TransactionSigner; configuration: Address; mappings: Address; systemProgram?: Address; seedPk: CreateMintMapInstructionDataArgs["seedPk"]; seedId: CreateMintMapInstructionDataArgs["seedId"]; bump: CreateMintMapInstructionDataArgs["bump"]; scopeChains: CreateMintMapInstructionDataArgs["scopeChains"]; }; export declare function getCreateMintMapInstruction(input: CreateMintMapInput, config?: { programAddress?: TProgramAddress; }): CreateMintMapInstruction; export type ParsedCreateMintMapInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; configuration: TAccountMetas[1]; mappings: TAccountMetas[2]; systemProgram: TAccountMetas[3]; }; data: CreateMintMapInstructionData; }; export declare function parseCreateMintMapInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCreateMintMapInstruction; //# sourceMappingURL=createMintMap.d.ts.map