import { JSDOM } from 'jsdom';
import { z } from 'zod';
export declare const css_selector_config: z.ZodObject<{
    dom: z.ZodType<JSDOM, z.ZodTypeDef, JSDOM>;
    selector: z.ZodString;
}, "strip", z.ZodTypeAny, {
    dom: JSDOM;
    selector: string;
}, {
    dom: JSDOM;
    selector: string;
}>;
export type CssSelectorConfig = z.infer<typeof css_selector_config>;
/**
 * 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<JSDOM, z.ZodTypeDef, JSDOM>;
    expression: z.ZodString;
}, "strip", z.ZodTypeAny, {
    dom: JSDOM;
    expression: string;
}, {
    dom: JSDOM;
    expression: string;
}>;
export type XPathExpressionConfig = z.infer<typeof xpath_expression_config>;
/**
 * 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