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