/** * 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 TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit'; import { MOONSHOT_BLINDBOX_SMART_CONTRACT_PROGRAM_ADDRESS } from '../programs'; import { type InitializeConfigArgs, type InitializeConfigArgsArgs } from '../types'; export declare const INITIALIZE_CONFIG_DISCRIMINATOR: Uint8Array; export declare function getInitializeConfigDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeConfigInstruction = string, TAccountConfig extends string | AccountMeta = string, TAccountNftAuthority extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = '11111111111111111111111111111111', 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, TAccountNftAuthority extends string ? WritableAccount : TAccountNftAuthority, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts ]>; export type InitializeConfigInstructionData = { discriminator: ReadonlyUint8Array; args: InitializeConfigArgs; }; export type InitializeConfigInstructionDataArgs = { args: InitializeConfigArgsArgs; }; export declare function getInitializeConfigInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeConfigInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeConfigInstructionDataCodec(): FixedSizeCodec; export type InitializeConfigAsyncInput = { owner: TransactionSigner; config: Address; nftAuthority?: Address; systemProgram?: Address; eventAuthority?: Address; program: Address; args: InitializeConfigInstructionDataArgs['args']; }; export declare function getInitializeConfigInstructionAsync(input: InitializeConfigAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type InitializeConfigInput = { owner: TransactionSigner; config: Address; nftAuthority: Address; systemProgram?: Address; eventAuthority: Address; program: Address; args: InitializeConfigInstructionDataArgs['args']; }; export declare function getInitializeConfigInstruction(input: InitializeConfigInput, config?: { programAddress?: TProgramAddress; }): InitializeConfigInstruction; export type ParsedInitializeConfigInstruction = { programAddress: Address; accounts: { owner: TAccountMetas[0]; config: TAccountMetas[1]; nftAuthority: TAccountMetas[2]; systemProgram: TAccountMetas[3]; eventAuthority: TAccountMetas[4]; program: TAccountMetas[5]; }; data: InitializeConfigInstructionData; }; export declare function parseInitializeConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeConfigInstruction; //# sourceMappingURL=initializeConfig.d.ts.map