You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
579 B
TypeScript

declare class DOMSelector {
constructor(window: object, document: object, opt?: object);
check(selector: string, node: object, opt?: object): {
match: boolean;
pseudoElement: string | null;
};
matches(selector: string, node: object, opt?: object): boolean;
closest(selector: string, node: object, opt?: object): object | null;
querySelector(selector: string, node: object, opt?: object): object | null;
querySelectorAll(selector: string, node: object, opt?: object): Array<object | undefined>;
#private;
}
export { DOMSelector };