import { JSDOM } from 'jsdom'; import { z } from 'zod'; export declare const css_selector_config: z.ZodObject<{ dom: z.ZodType; selector: z.ZodString; }, "strip", z.ZodTypeAny, { dom: JSDOM; selector: string; }, { dom: JSDOM; selector: string; }>; export type CssSelectorConfig = z.infer; /** * Finds all texts that match a CSS selector and convert them to plain text if necessary. */ export declare const cssSelectorMatchesToTexts: (config: CssSelectorConfig) => { error: Error; value?: undefined; } | { value: string[]; error?: undefined; }; export declare const xpath_expression_config: z.ZodObject<{ dom: z.ZodType; expression: z.ZodString; }, "strip", z.ZodTypeAny, { dom: JSDOM; expression: string; }, { dom: JSDOM; expression: string; }>; export type XPathExpressionConfig = z.infer; /** * Finds all texts that match an XPath expression. */ export declare const xPathExpressionMatchesToTexts: (config: XPathExpressionConfig) => { error: Error; value?: undefined; } | { value: string[]; error?: undefined; }; //# sourceMappingURL=matchers.d.ts.map