import { DynamicConfigParameters, DynamicConfigParametersArgs } from "../types/dynamicConfigParameters.js"; import "../types/index.js"; import { CP_AMM_PROGRAM_ADDRESS } from "../programs/cpAmm.js"; import "../programs/index.js"; import { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit"; //#region src/generated/instructions/createDynamicConfig.d.ts declare const CREATE_DYNAMIC_CONFIG_DISCRIMINATOR: ReadonlyUint8Array; declare function getCreateDynamicConfigDiscriminatorBytes(): ReadonlyUint8Array; type CreateDynamicConfigInstruction = string, TAccountAdmin extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta = string, TAccountProgram extends string | AccountMeta = "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[TAccountConfig extends string ? WritableAccount : TAccountConfig, TAccountAdmin extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdmin, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts]>; type CreateDynamicConfigInstructionData = { discriminator: ReadonlyUint8Array; index: bigint; configParameters: DynamicConfigParameters; }; type CreateDynamicConfigInstructionDataArgs = { index: number | bigint; configParameters: DynamicConfigParametersArgs; }; declare function getCreateDynamicConfigInstructionDataEncoder(): FixedSizeEncoder; declare function getCreateDynamicConfigInstructionDataDecoder(): FixedSizeDecoder; declare function getCreateDynamicConfigInstructionDataCodec(): FixedSizeCodec; type CreateDynamicConfigAsyncInput = { config?: Address; admin: TransactionSigner; systemProgram?: Address; eventAuthority?: Address; program?: Address; index: CreateDynamicConfigInstructionDataArgs["index"]; configParameters: CreateDynamicConfigInstructionDataArgs["configParameters"]; }; declare function getCreateDynamicConfigInstructionAsync(input: CreateDynamicConfigAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; type CreateDynamicConfigInput = { config: Address; admin: TransactionSigner; systemProgram?: Address; eventAuthority: Address; program?: Address; index: CreateDynamicConfigInstructionDataArgs["index"]; configParameters: CreateDynamicConfigInstructionDataArgs["configParameters"]; }; declare function getCreateDynamicConfigInstruction(input: CreateDynamicConfigInput, config?: { programAddress?: TProgramAddress; }): CreateDynamicConfigInstruction; type ParsedCreateDynamicConfigInstruction = { programAddress: Address; accounts: { config: TAccountMetas[0]; admin: TAccountMetas[1]; systemProgram: TAccountMetas[2]; eventAuthority: TAccountMetas[3]; program: TAccountMetas[4]; }; data: CreateDynamicConfigInstructionData; }; declare function parseCreateDynamicConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCreateDynamicConfigInstruction; //#endregion export { CREATE_DYNAMIC_CONFIG_DISCRIMINATOR, CreateDynamicConfigAsyncInput, CreateDynamicConfigInput, CreateDynamicConfigInstruction, CreateDynamicConfigInstructionData, CreateDynamicConfigInstructionDataArgs, ParsedCreateDynamicConfigInstruction, getCreateDynamicConfigDiscriminatorBytes, getCreateDynamicConfigInstruction, getCreateDynamicConfigInstructionAsync, getCreateDynamicConfigInstructionDataCodec, getCreateDynamicConfigInstructionDataDecoder, getCreateDynamicConfigInstructionDataEncoder, parseCreateDynamicConfigInstruction }; //# sourceMappingURL=createDynamicConfig.d.ts.map