import type { ReactElement, ReactNode } from 'react'; export interface DrawerProps { /** The dialog's accessible name. */ readonly title: string; readonly children: ReactNode; readonly side?: 'left' | 'right'; /** * The opener. Radix labels it and returns focus to it when the drawer closes. * * It is a single ELEMENT, not any node: Radix clones its props onto it, so a * string throws. The type admits a FRAGMENT — `<>` is a `ReactElement` — * which would render openers carrying neither the * `aria-haspopup`/`aria-expanded`/`aria-controls` wiring nor a click handler, * so {@link assertSlotElement} rejects that one at runtime. */ readonly trigger?: ReactElement; readonly open?: boolean; readonly defaultOpen?: boolean; readonly onOpenChange?: (open: boolean) => void; } export declare function Drawer({ title, children, side, trigger, open, defaultOpen, onOpenChange, }: DrawerProps): import("react").JSX.Element; //# sourceMappingURL=drawer.d.ts.map