/** * 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 { MOONSHOT_BLINDBOX_SMART_CONTRACT_PROGRAM_ADDRESS } from '../programs'; import { type UpdateConfigArgs, type UpdateConfigArgsArgs } from '../types'; export declare const UPDATE_CONFIG_DISCRIMINATOR: Uint8Array; export declare function getUpdateConfigDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateConfigInstruction = string, TAccountConfig extends string | AccountMeta = string, TAccountEventAuthority extends string | AccountMeta = string, TAccountProgram extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountOwner extends string ? WritableSignerAccount & AccountSignerMeta : TAccountOwner, TAccountConfig extends string ? WritableAccount : TAccountConfig, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts ]>; export type UpdateConfigInstructionData = { discriminator: ReadonlyUint8Array; args: UpdateConfigArgs; }; export type UpdateConfigInstructionDataArgs = { args: UpdateConfigArgsArgs; }; export declare function getUpdateConfigInstructionDataEncoder(): Encoder; export declare function getUpdateConfigInstructionDataDecoder(): Decoder; export declare function getUpdateConfigInstructionDataCodec(): Codec; export type UpdateConfigAsyncInput = { owner: TransactionSigner; config: Address; eventAuthority?: Address; program: Address; args: UpdateConfigInstructionDataArgs['args']; }; export declare function getUpdateConfigInstructionAsync(input: UpdateConfigAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type UpdateConfigInput = { owner: TransactionSigner; config: Address; eventAuthority: Address; program: Address; args: UpdateConfigInstructionDataArgs['args']; }; export declare function getUpdateConfigInstruction(input: UpdateConfigInput, config?: { programAddress?: TProgramAddress; }): UpdateConfigInstruction; export type ParsedUpdateConfigInstruction = { programAddress: Address; accounts: { owner: TAccountMetas[0]; config: TAccountMetas[1]; eventAuthority: TAccountMetas[2]; program: TAccountMetas[3]; }; data: UpdateConfigInstructionData; }; export declare function parseUpdateConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateConfigInstruction; //# sourceMappingURL=updateConfig.d.ts.map