import type * as React from 'react'; import type { DrawerProps } from './types.js'; /** Props for {@link DrawerRoot}: {@link DrawerProps} minus the derived-anatomy-only props. */ export type DrawerRootProps = Omit; /** * State/context primitive that owns open state, placement, and modality, passing them to all drawer parts via context with no DOM element of its own. */ export declare function DrawerRoot({ children, open, defaultOpen, onOpenChange, onOpenChangeComplete, placement, modal, dismiss, dismissible, }: DrawerRootProps): React.JSX.Element; export declare namespace DrawerRoot { var displayName: string; } /** * Recipe for a drawer — a panel anchored to one edge of the viewport — deriving anatomy from `title`/`description`/`footer`/`dismissible`: portal, overlay, title, description, body, footer, and close button. * * @example * ```tsx * * * * ``` */ export declare function Drawer({ children, open, defaultOpen, onOpenChange, onOpenChangeComplete, placement, modal, dismiss, title, description, footer, dismissible, size, portalContainer, ...rest }: DrawerProps): React.JSX.Element; export declare namespace Drawer { var displayName: string; }