pseudos.d.ts 473 B

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