import { ParsedInstruction } from "@solana/web3.js"; import { Infer } from "superstruct"; import { PARSED_PROGRAMS } from "../../program/constants"; import { IX_STRUCTS, IX_TITLES, MemoInstructionType } from "./types"; export declare function parseSplMemoInstruction(ix: ParsedInstruction & { program: typeof PARSED_PROGRAMS.SPL_MEMO; }): MemoInstructionDescriptor; export type MemoInstructionDescriptor = { [K in MemoInstructionType]: { title: (typeof IX_TITLES)[K]; type: K; info: Infer<(typeof IX_STRUCTS)[K]>; }; }[MemoInstructionType]; //# sourceMappingURL=index.d.ts.map