summaryrefslogtreecommitdiff
path: root/node_modules/css-select/lib/sort.d.ts
blob: 93c996c110397f8cd8f4e9c4e57029c69cff8920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import type { InternalSelector } from "./types.js";
import { type Traversal } from "css-what";
export declare function isTraversal(token: InternalSelector): token is Traversal;
/**
 * Sort the parts of the passed selector,
 * as there is potential for optimization
 * (some types of selectors are faster than others)
 *
 * @param arr Selector to sort
 */
export default function sortByProcedure(arr: InternalSelector[]): void;
//# sourceMappingURL=sort.d.ts.map