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