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/closeConfig.d.ts declare const CLOSE_CONFIG_DISCRIMINATOR: ReadonlyUint8Array; declare function getCloseConfigDiscriminatorBytes(): ReadonlyUint8Array; type CloseConfigInstruction = string, TAccountAdmin extends string | AccountMeta = string, TAccountRentReceiver extends string | AccountMeta = string, 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, TAccountRentReceiver extends string ? WritableAccount : TAccountRentReceiver, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts]>; type CloseConfigInstructionData = { discriminator: ReadonlyUint8Array; }; type CloseConfigInstructionDataArgs = {}; declare function getCloseConfigInstructionDataEncoder(): FixedSizeEncoder; declare function getCloseConfigInstructionDataDecoder(): FixedSizeDecoder; declare function getCloseConfigInstructionDataCodec(): FixedSizeCodec; type CloseConfigAsyncInput = { config: Address; admin: TransactionSigner; rentReceiver: Address; eventAuthority?: Address; program?: Address; }; declare function getCloseConfigInstructionAsync(input: CloseConfigAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; type CloseConfigInput = { config: Address; admin: TransactionSigner; rentReceiver: Address; eventAuthority: Address; program?: Address; }; declare function getCloseConfigInstruction(input: CloseConfigInput, config?: { programAddress?: TProgramAddress; }): CloseConfigInstruction; type ParsedCloseConfigInstruction = { programAddress: Address; accounts: { config: TAccountMetas[0]; admin: TAccountMetas[1]; rentReceiver: TAccountMetas[2]; eventAuthority: TAccountMetas[3]; program: TAccountMetas[4]; }; data: CloseConfigInstructionData; }; declare function parseCloseConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCloseConfigInstruction; //#endregion export { CLOSE_CONFIG_DISCRIMINATOR, CloseConfigAsyncInput, CloseConfigInput, CloseConfigInstruction, CloseConfigInstructionData, CloseConfigInstructionDataArgs, ParsedCloseConfigInstruction, getCloseConfigDiscriminatorBytes, getCloseConfigInstruction, getCloseConfigInstructionAsync, getCloseConfigInstructionDataCodec, getCloseConfigInstructionDataDecoder, getCloseConfigInstructionDataEncoder, parseCloseConfigInstruction }; //# sourceMappingURL=closeConfig.d.ts.map