index.d.ts 282 B

12345678
  1. import type { Node } from 'postcss-selector-parser';
  2. export declare type Specificity = {
  3. a: number;
  4. b: number;
  5. c: number;
  6. };
  7. export declare function selectorSpecificity(node: Node): Specificity;
  8. export declare function compare(s1: Specificity, s2: Specificity): number;