import { DrawerOptions } from './drawer.types'; /** * Headless drawer controller. A slide-in panel anchored to an edge. Manages * open state, focus trapping, scroll locking, Escape/overlay dismissal, ARIA * wiring and focus restoration. Mirrors the modal behaviour but reflects its * anchored edge on `data-side`. * * Markup: * ```html *
*
*
* * ... *
*
* ``` */ export declare class Drawer { private readonly root; private readonly content; private readonly overlay; private readonly side; private readonly closeOnOverlayClick; private readonly closeOnEscape; private readonly lockScroll; private readonly focusTrap; private opened; private previouslyFocused; private cleanups; constructor(root: HTMLElement, options?: DrawerOptions); private init; private readonly onKeydown; open(): void; close(): void; toggle(): void; get isOpen(): boolean; on(event: string, handler: (event: E) => void): () => void; destroy(): void; }