import { S as SnapshotNode } from "./sdk-contracts.js"; //#region src/utils/selectors-parse.d.ts type SelectorKey = 'id' | 'role' | 'text' | 'label' | 'value' | 'appname' | 'windowtitle' | 'visible' | 'hidden' | 'editable' | 'selected' | 'focused' | 'enabled' | 'hittable'; type SelectorTerm = { key: SelectorKey; value: string | boolean; }; type Selector = { raw: string; terms: SelectorTerm[]; }; type SelectorChain = { raw: string; selectors: Selector[]; }; declare function parseSelectorChain(expression: string): SelectorChain; declare function tryParseSelectorChain(expression: string): SelectorChain | null; declare function isSelectorToken(token: string): boolean; //#endregion //#region src/utils/finders.d.ts declare const FIND_LOCATORS: readonly ['any', 'text', 'label', 'value', 'role', 'id']; type FindLocator = (typeof FIND_LOCATORS)[number]; type FindAction = { kind: 'click'; } | { kind: 'focus'; } | { kind: 'fill'; value: string; } | { kind: 'type'; value: string; } | { kind: 'get_text'; } | { kind: 'get_attrs'; } | { kind: 'exists'; } | { kind: 'wait'; timeoutMs?: number; }; declare function parseFindArgs(args: string[]): { locator: FindLocator; query: string; action: FindAction['kind']; value?: string; timeoutMs?: number; }; //#endregion //#region src/finders.d.ts type FindMatchOptions = { requireRect?: boolean; }; declare function findBestMatchesByLocator(nodes: SnapshotNode[], locator: FindLocator, query: string, options?: boolean | FindMatchOptions): { matches: SnapshotNode[]; score: number; }; //#endregion export { Selector as a, parseSelectorChain as c, parseFindArgs as i, tryParseSelectorChain as l, findBestMatchesByLocator as n, SelectorChain as o, FindLocator as r, isSelectorToken as s, FindMatchOptions as t };