positionals.d.ts 498 B

12345678910
  1. import type { Selector, PseudoSelector } from "css-what";
  2. export declare type Filter = "first" | "last" | "eq" | "nth" | "gt" | "lt" | "even" | "odd" | "not";
  3. export declare const filterNames: Set<string>;
  4. export interface CheerioSelector extends PseudoSelector {
  5. name: Filter;
  6. data: string | null;
  7. }
  8. export declare function isFilter(s: Selector): s is CheerioSelector;
  9. export declare function getLimit(filter: Filter, data: string | null): number;
  10. //# sourceMappingURL=positionals.d.ts.map