/** * 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 WritableAccount, type WritableSignerAccount } 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 CREATE_CONFIG_DISCRIMINATOR: ReadonlyUint8Array; export declare function getCreateConfigDiscriminatorBytes(): ReadonlyUint8Array; export type CreateConfigInstruction = string, TAccountAdminConfig extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAuthority extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAuthority, TAccountAdminConfig extends string ? WritableAccount : TAccountAdminConfig, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type CreateConfigInstructionData = { discriminator: ReadonlyUint8Array; }; export type CreateConfigInstructionDataArgs = {}; export declare function getCreateConfigInstructionDataEncoder(): FixedSizeEncoder; export declare function getCreateConfigInstructionDataDecoder(): FixedSizeDecoder; export declare function getCreateConfigInstructionDataCodec(): FixedSizeCodec; export type CreateConfigAsyncInput = { /** Becomes the sole admin on the singleton config. Callable once. */ authority: TAccountAuthority; adminConfig?: TAccountAdminConfig; systemProgram?: TAccountSystemProgram; }; export declare function getCreateConfigInstructionAsync(input: CreateConfigAsyncInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): Promise>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>>>; export type CreateConfigInput = { /** Becomes the sole admin on the singleton config. Callable once. */ authority: TAccountAuthority; adminConfig: TAccountAdminConfig; systemProgram?: TAccountSystemProgram; }; export declare function getCreateConfigInstruction(input: CreateConfigInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): CreateConfigInstruction>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>>; export type ParsedCreateConfigInstruction = { programAddress: Address; accounts: { /** Becomes the sole admin on the singleton config. Callable once. */ authority: TAccountMetas[0]; adminConfig: TAccountMetas[1]; systemProgram: TAccountMetas[2]; }; data: CreateConfigInstructionData; }; export declare function parseCreateConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCreateConfigInstruction; //# sourceMappingURL=createConfig.d.ts.map