/** * 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 ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { PAYMENT_CHANNELS_PROGRAM_ADDRESS } from '../programs/index.js'; export declare const SETTLE_DISCRIMINATOR = 2; export declare function getSettleDiscriminatorBytes(): ReadonlyUint8Array; export type SettleInstruction = string, TAccountInstructionsSysvar extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountChannel extends string ? WritableAccount : TAccountChannel, TAccountInstructionsSysvar extends string ? ReadonlyAccount : TAccountInstructionsSysvar, ...TRemainingAccounts ]>; export type SettleInstructionData = { discriminator: number; }; export type SettleInstructionDataArgs = {}; export declare function getSettleInstructionDataEncoder(): FixedSizeEncoder; export declare function getSettleInstructionDataDecoder(): FixedSizeDecoder; export declare function getSettleInstructionDataCodec(): FixedSizeCodec; export type SettleInput = { channel: Address; instructionsSysvar: Address; }; export declare function getSettleInstruction(input: SettleInput, config?: { programAddress?: TProgramAddress; }): SettleInstruction; export type ParsedSettleInstruction = { programAddress: Address; accounts: { channel: TAccountMetas[0]; instructionsSysvar: TAccountMetas[1]; }; data: SettleInstructionData; }; export declare function parseSettleInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSettleInstruction; //# sourceMappingURL=settle.d.ts.map