File size: 689 Bytes
04ec17f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import type { Direction } from "../../shared/index.js";
export type CheckedState = boolean | "indeterminate";
export declare const SELECTION_KEYS: string[];
export declare const FIRST_KEYS: string[];
export declare const LAST_KEYS: string[];
export declare const FIRST_LAST_KEYS: string[];
export declare const SUB_OPEN_KEYS: Record<Direction, string[]>;
export declare const SUB_CLOSE_KEYS: Record<Direction, string[]>;
export declare function isIndeterminate(checked?: CheckedState): checked is "indeterminate";
export declare function getCheckedState(checked: CheckedState): "checked" | "unchecked" | "indeterminate";
export declare function isMouseEvent(event: PointerEvent): boolean;