/** One way an instruction can trap. */ export interface TrapCondition { /** Terse description of the runtime condition that triggers the trap. */ condition: string; /** The spec's canonical trap name (matches `.wast` `assert_trap` text). */ name: string; } /** * Derive the trap conditions for an instruction mnemonic. Returns an * empty array for instructions that cannot trap. Pure and total. */ export declare function deriveTraps(mnemonic: string): TrapCondition[];