1 | import { type Options as CSSSelectOptions } from "css-select";
|
2 | import type { Element, AnyNode, Document } from "domhandler";
|
3 | export { filters, pseudos, aliases } from "css-select";
|
4 | export interface Options extends CSSSelectOptions<AnyNode, Element> {
|
5 |
|
6 | root?: Document;
|
7 | }
|
8 | export declare function is(element: Element, selector: string | ((el: Element) => boolean), options?: Options): boolean;
|
9 | export declare function some(elements: Element[], selector: string | ((el: Element) => boolean), options?: Options): boolean;
|
10 | export declare function filter(selector: string, elements: AnyNode[], options?: Options): Element[];
|
11 | export declare function select(selector: string | ((el: Element) => boolean), root: AnyNode | AnyNode[], options?: Options, limit?: number): Element[];
|
12 |
|
\ | No newline at end of file |