/** * 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 HasAddress, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, type WritableAccount } from "@solana/kit"; import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/kit/program-client-core"; import { PHYGITAL_TOKEN_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const SET_MINTER_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetMinterDiscriminatorBytes(): ReadonlyUint8Array; export type SetMinterInstruction = string, TAccountAdminConfig extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountAdminConfig extends string ? WritableAccount : TAccountAdminConfig, ...TRemainingAccounts ]>; export type SetMinterInstructionData = { discriminator: ReadonlyUint8Array; minter: Address; }; export type SetMinterInstructionDataArgs = { minter: Address | HasAddress; }; export declare function getSetMinterInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetMinterInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetMinterInstructionDataCodec(): FixedSizeCodec; export type SetMinterAsyncInput = { admin: TAccountAdmin; adminConfig?: TAccountAdminConfig; minter: SetMinterInstructionDataArgs["minter"]; }; export declare function getSetMinterInstructionAsync(input: SetMinterAsyncInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): Promise>, ResolvedInstructionAccountMeta>>>; export type SetMinterInput = { admin: TAccountAdmin; adminConfig: TAccountAdminConfig; minter: SetMinterInstructionDataArgs["minter"]; }; export declare function getSetMinterInstruction(input: SetMinterInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): SetMinterInstruction>, ResolvedInstructionAccountMeta>>; export type ParsedSetMinterInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; adminConfig: TAccountMetas[1]; }; data: SetMinterInstructionData; }; export declare function parseSetMinterInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetMinterInstruction; //# sourceMappingURL=setMinter.d.ts.map