/** * 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 Codec, type Decoder, type Encoder } from "@solana/codecs"; import type { Address, AccountMeta, Instruction, InstructionWithAccounts, InstructionWithData, TransactionSigner } from "@solana/kit"; import { MEMO_PROGRAM_ADDRESS } from "../programs"; export type AddMemoInstruction[] = []> = Instruction & InstructionWithData & InstructionWithAccounts; export type AddMemoInstructionData = { memo: string; }; export type AddMemoInstructionDataArgs = AddMemoInstructionData; export declare function getAddMemoInstructionDataEncoder(): Encoder; export declare function getAddMemoInstructionDataDecoder(): Decoder; export declare function getAddMemoInstructionDataCodec(): Codec; export type AddMemoInput = { memo: AddMemoInstructionDataArgs["memo"]; signers?: Array; }; export declare function getAddMemoInstruction(input: AddMemoInput, config?: { programAddress?: TProgramAddress; }): AddMemoInstruction; export type ParsedAddMemoInstruction = { programAddress: Address; data: AddMemoInstructionData; }; export declare function parseAddMemoInstruction(instruction: Instruction & InstructionWithData): ParsedAddMemoInstruction; //# sourceMappingURL=addMemo.d.ts.map