/** * 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 ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit"; import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const CLOSE_CLAIM_STATUS_INSTRUCTION_ACCOUNTS: { readonly claimStatus: 0; readonly claimant: 1; readonly admin: 2; readonly distributor: 3; }; export type CloseClaimStatusInstructionAccountName = keyof typeof CLOSE_CLAIM_STATUS_INSTRUCTION_ACCOUNTS; export declare const CLOSE_CLAIM_STATUS_DISCRIMINATOR: Uint8Array; export declare function getCloseClaimStatusDiscriminatorBytes(): ReadonlyUint8Array; export type CloseClaimStatusInstruction = string, TAccountClaimant extends string | AccountMeta = string, TAccountAdmin extends string | AccountMeta = string, TAccountDistributor extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountClaimStatus extends string ? WritableAccount : TAccountClaimStatus, TAccountClaimant extends string ? WritableAccount : TAccountClaimant, TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountDistributor extends string ? ReadonlyAccount : TAccountDistributor, ...TRemainingAccounts ]>; export type CloseClaimStatusInstructionData = { discriminator: ReadonlyUint8Array; }; export type CloseClaimStatusInstructionDataArgs = {}; export declare function getCloseClaimStatusInstructionDataEncoder(): FixedSizeEncoder; export declare function getCloseClaimStatusInstructionDataDecoder(): FixedSizeDecoder; export declare function getCloseClaimStatusInstructionDataCodec(): FixedSizeCodec; export type CloseClaimStatusInput = { claimStatus: Address; claimant: Address; admin: TransactionSigner; distributor: Address; }; export declare function getCloseClaimStatusInstruction(input: CloseClaimStatusInput, config?: { programAddress?: TProgramAddress; }): CloseClaimStatusInstruction; export type ParsedCloseClaimStatusInstruction = { programAddress: Address; accounts: { claimStatus: TAccountMetas[0]; claimant: TAccountMetas[1]; admin: TAccountMetas[2]; distributor: TAccountMetas[3]; }; data: CloseClaimStatusInstructionData; }; export declare function parseCloseClaimStatusInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCloseClaimStatusInstruction; //# sourceMappingURL=closeClaimStatus.d.ts.map