You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
517 B
10 lines
517 B
2 years ago
|
import type { Selector, PseudoSelector } from "css-what";
|
||
|
export declare type Filter = "first" | "last" | "eq" | "nth" | "gt" | "lt" | "even" | "odd" | "not";
|
||
|
export declare const filterNames: Set<string>;
|
||
|
export interface CheerioSelector extends PseudoSelector {
|
||
|
name: Filter;
|
||
|
data: string | null;
|
||
|
}
|
||
|
export declare function isFilter(s: Selector): s is CheerioSelector;
|
||
|
export declare function getLimit(filter: Filter, data: string | null, partLimit: number): number;
|
||
|
//# sourceMappingURL=positionals.d.ts.map
|