/** * 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { PAYMENT_CHANNELS_PROGRAM_ADDRESS } from '../programs/index.js'; export declare const RECLAIM_DISCRIMINATOR = 9; export declare function getReclaimDiscriminatorBytes(): ReadonlyUint8Array; export type ReclaimInstruction = string, TAccountRentPayer extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountChannel extends string ? WritableAccount : TAccountChannel, TAccountRentPayer extends string ? WritableAccount : TAccountRentPayer, ...TRemainingAccounts ]>; export type ReclaimInstructionData = { discriminator: number; }; export type ReclaimInstructionDataArgs = {}; export declare function getReclaimInstructionDataEncoder(): FixedSizeEncoder; export declare function getReclaimInstructionDataDecoder(): FixedSizeDecoder; export declare function getReclaimInstructionDataCodec(): FixedSizeCodec; export type ReclaimInput = { channel: Address; rentPayer: Address; }; export declare function getReclaimInstruction(input: ReclaimInput, config?: { programAddress?: TProgramAddress; }): ReclaimInstruction; export type ParsedReclaimInstruction = { programAddress: Address; accounts: { channel: TAccountMetas[0]; rentPayer: TAccountMetas[1]; }; data: ReclaimInstructionData; }; export declare function parseReclaimInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedReclaimInstruction; //# sourceMappingURL=reclaim.d.ts.map