// generated by diplomat-tool import type { Value } from "./Value.mjs" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * A condition on an output value, for `ExecutionMode::until_condition` * (PORTING rule 10). */ export class OutputCondition { /** @internal */ get ffiValue(): pointer; /** @internal */ constructor(); /** * Met when the output equals `value`. */ static equals(value: Value): OutputCondition; /** * Met when the output does not equal `value`. */ static notEquals(value: Value): OutputCondition; /** * Met when the output is greater than `value`. Numeric only: both * sides must be the same numeric type (u32/i32/f32), else never met. */ static greaterThan(value: Value): OutputCondition; /** * Met when the output is less than `value`. Numeric only: both sides * must be the same numeric type (u32/i32/f32), else never met. */ static lessThan(value: Value): OutputCondition; /** * Met when `output & mask` is non-zero (flag checking). Integer * outputs (u32/i32) only; never met for other types. */ static bitwiseAnd(mask: number): OutputCondition; }