import { z } from "zod"; import { type InstructionSummary } from "../../spec/instructions_query.js"; import type { InstructionCategory } from "../../parser/instructions.js"; import { WASM_VERSIONS } from "../../parser/instructions.js"; import type { VersionValue } from "../../versions.js"; export declare const instructionListSchema: { category: z.ZodOptional>; introduced_in: z.ZodOptional>; prefix: z.ZodOptional; can_trap: z.ZodOptional; version: z.ZodDefault>; }; export type InstructionListArgs = { category?: InstructionCategory; introduced_in?: (typeof WASM_VERSIONS)[number]; prefix?: string; can_trap?: boolean; version?: VersionValue; }; export declare const instructionListExamples: ({ q: string; input: { category: string; introduced_in?: undefined; prefix?: undefined; can_trap?: undefined; }; note: string; } | { q: string; input: { category: string; introduced_in: string; prefix?: undefined; can_trap?: undefined; }; note: string; } | { q: string; input: { category?: undefined; introduced_in?: undefined; prefix: string; can_trap?: undefined; }; note: string; } | { q: string; input: { category?: undefined; introduced_in?: undefined; prefix?: undefined; can_trap: boolean; }; note: string; })[]; export interface InstructionListResult { count: number; instructions: InstructionSummary[]; } export declare function instructionList(args: InstructionListArgs): InstructionListResult;