import { type SelectorRoot } from './engine.js'; export interface QueryOptions { /** * Whether to include elements in shadow DOM */ piercesShadowDom?: boolean; /** * Whether to only return visible elements */ visibleOnly?: boolean; } /** * Query a single element using any registered selector engine. * Supports chained selectors with ">>" (e.g., "css=.parent >> text=child") * * When selector caching is active (via beginSelectorCaches/withSelectorCache), * results are cached based on the selector and root element combination. */ export declare function querySelector(root: SelectorRoot, selector: string, options?: QueryOptions): Element | null; /** * Query all elements using any registered selector engine. * * When selector caching is active (via beginSelectorCaches/withSelectorCache), * results are cached based on the selector and root element combination. */ export declare function querySelectorAll(root: SelectorRoot, selector: string, options?: QueryOptions): Element[]; //# sourceMappingURL=evaluator.d.ts.map