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