pseudos.d.ts 528 B

123456
  1. import type { PseudoSelector } from "css-what";
  2. import type { InternalOptions } from "../types.js";
  3. export declare type Pseudo = <Node, ElementNode extends Node>(elem: ElementNode, options: InternalOptions<Node, ElementNode>, subselect?: string | null) => boolean;
  4. export declare const pseudos: Record<string, Pseudo>;
  5. export declare function verifyPseudoArgs<T extends Array<unknown>>(func: (...args: T) => boolean, name: string, subselect: PseudoSelector["data"], argIndex: number): void;
  6. //# sourceMappingURL=pseudos.d.ts.map