/** * 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 SEAL_DISCRIMINATOR = 6; export declare function getSealDiscriminatorBytes(): ReadonlyUint8Array; export type SealInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountChannel extends string ? WritableAccount : TAccountChannel, ...TRemainingAccounts ]>; export type SealInstructionData = { discriminator: number; }; export type SealInstructionDataArgs = {}; export declare function getSealInstructionDataEncoder(): FixedSizeEncoder; export declare function getSealInstructionDataDecoder(): FixedSizeDecoder; export declare function getSealInstructionDataCodec(): FixedSizeCodec; export type SealInput = { channel: Address; }; export declare function getSealInstruction(input: SealInput, config?: { programAddress?: TProgramAddress; }): SealInstruction; export type ParsedSealInstruction = { programAddress: Address; accounts: { channel: TAccountMetas[0]; }; data: SealInstructionData; }; export declare function parseSealInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSealInstruction; //# sourceMappingURL=seal.d.ts.map