import { n as Polygon } from "./shared-utils-DAMHYvNA.js"; import * as React$1 from "react"; //#region src/menu/menu.libs.d.ts type CheckedState = boolean | 'indeterminate'; type Side = 'left' | 'right'; type GraceIntent = { area: Polygon; side: Side; }; declare const SELECTION_KEYS: string[]; declare const FIRST_KEYS: string[]; declare const LAST_KEYS: string[]; declare const FIRST_LAST_KEYS: string[]; declare const SUB_OPEN_KEYS: Record<'ltr' | 'rtl', string[]>; declare const SUB_CLOSE_KEYS: Record<'ltr' | 'rtl', string[]>; declare function getOpenState(open: boolean): "open" | "closed"; declare function isIndeterminate(checked?: CheckedState): checked is 'indeterminate'; declare function getCheckedState(checked: CheckedState): "indeterminate" | "checked" | "unchecked"; declare function isPointerInGraceArea(event: React$1.PointerEvent, area?: Polygon): boolean; declare function whenMouse(handler: React$1.PointerEventHandler): React$1.PointerEventHandler; declare function isSide(value: string | null): value is Side; //#endregion export { LAST_KEYS as a, SUB_OPEN_KEYS as c, getOpenState as d, isIndeterminate as f, whenMouse as h, GraceIntent as i, Side as l, isSide as m, FIRST_KEYS as n, SELECTION_KEYS as o, isPointerInGraceArea as p, FIRST_LAST_KEYS as r, SUB_CLOSE_KEYS as s, CheckedState as t, getCheckedState as u };