/** * The paint order of everything the kit puts at the top of the document. Overlays (`Dialog`, `Drawer`, * `FileGalleryDialog`, `Alert`) share one rung, so DOM order breaks ties — and the body-level box exists * only while open, so DOM order is open order (Base UI's `Dialog.Portal` renders nothing until mounted; * `keepMounted` would break it). A box held while closed claims its slot at first paint, and a drawer * opened later silently covers every control of it. * * The published ladder, for anything outside the kit that must clear an overlay: * * 9999 every overlay, and `Popover` (`OVERLAY_Z`) * 10000 `Tooltip`, `Alert` (`OVERLAY_Z_ABOVE`) * 10001 a transient notification / toast (`NOTIFICATION_Z`) * 10002 the skip link (`SKIP_LINK_Z`) * * Overlays read `--lotics-z-overlay` / `--lotics-z-overlay-above` from their sheets; these constants are * the measuring form `tokens_agreement.test.ts` pins them against. */ /** Shared with `Popover` on purpose: all portal and hold a box only while open, so one number plus open * order puts the last-opened on top. */ export declare const OVERLAY_Z = 9999; /** A tooltip and an alert are about the surface under them, so it can never cover them. */ export declare const OVERLAY_Z_ABOVE: number; /** Over the alert, since the action a toast reports is often the one the alert confirmed. */ export declare const NOTIFICATION_Z: number; /** The first thing a keyboard reaches. */ export declare const SKIP_LINK_Z: number;