/** * Selector resolution: turn a user-supplied selector string into a * {@link ResolvedElement} (an `objectId`) usable with the CDP DOM/Input domains. * * Three forms are supported: * - `@eN` — a snapshot element ref (looked up in window.__chromeUseRefs). * - `text=…` — first visible element whose trimmed text contains the substring. * - anything else — a CSS selector passed to document.querySelector. * * Adapted from the `chrome-use` skill (skills/chrome-use/scripts/lib/selectors.ts). */ import type { CdpClient, TabSession, ResolvedElement } from './types.js'; /** True when `selector` is a snapshot element ref like "@e1". */ export declare function isRef(selector: string): boolean; /** Resolve a selector against a tab, returning a remote {@link ResolvedElement}. */ export declare function resolve(cdp: CdpClient, tab: TabSession, selector: string): Promise; //# sourceMappingURL=selectors.d.ts.map