// These bindings are auto-generated by ./_tools/generate/mod.ts // Last generated at 2024-07-05T16:32:45.946Z // deno-lint-ignore-file no-explicit-any import { attachWs, DEBUG } from "../src/debug.ts"; export const PROTOCOL_VERSION = "1.3"; // ----------------- Accessibility Types ----------------- /** * Unique accessibility node identifier. */ export type Accessibility_AXNodeId = string; /** * Enum of possible property types. */ export type Accessibility_AXValueType = | "boolean" | "tristate" | "booleanOrUndefined" | "idref" | "idrefList" | "integer" | "node" | "nodeList" | "number" | "string" | "computedString" | "token" | "tokenList" | "domRelation" | "role" | "internalRole" | "valueUndefined"; /** * Enum of possible property sources. */ export type Accessibility_AXValueSourceType = | "attribute" | "implicit" | "style" | "contents" | "placeholder" | "relatedElement"; /** * Enum of possible native property sources (as a subtype of a particular AXValueSourceType). */ export type Accessibility_AXValueNativeSourceType = | "description" | "figcaption" | "label" | "labelfor" | "labelwrapped" | "legend" | "rubyannotation" | "tablecaption" | "title" | "other"; /** * A single source for a computed AX property. */ export type Accessibility_AXValueSource = { /** * What type of source this is. */ type: Accessibility_AXValueSourceType; /** * The value of this property source. */ value?: Accessibility_AXValue; /** * The name of the relevant attribute, if any. */ attribute?: string; /** * The value of the relevant attribute, if any. */ attributeValue?: Accessibility_AXValue; /** * Whether this source is superseded by a higher priority source. */ superseded?: boolean; /** * The native markup source for this value, e.g. a `