public_library_map/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts

6 lines
528 B
TypeScript
Raw Normal View History

2022-09-03 17:12:22 +10:00
import type { PseudoSelector } from "css-what";
import type { InternalOptions } from "../types.js";
export declare type Pseudo = <Node, ElementNode extends Node>(elem: ElementNode, options: InternalOptions<Node, ElementNode>, subselect?: string | null) => boolean;
2021-11-24 19:46:47 +11:00
export declare const pseudos: Record<string, Pseudo>;
2022-09-03 17:12:22 +10:00
export declare function verifyPseudoArgs<T extends Array<unknown>>(func: (...args: T) => boolean, name: string, subselect: PseudoSelector["data"], argIndex: number): void;
2021-11-24 19:46:47 +11:00
//# sourceMappingURL=pseudos.d.ts.map