import React from 'react'; import { type DialogBodyProps, type DialogContentProps, type DialogDescriptionProps, type DialogFooterProps, type DialogHeaderProps, type DialogTitleProps, type DialogTriggerProps } from '../Dialog'; export type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom'; export type DrawerProps = { open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; placement?: DrawerPlacement; children: React.ReactNode; }; type DrawerRootComponent = { (props: Readonly): React.JSX.Element; displayName?: string; }; declare const DrawerRoot: DrawerRootComponent; export type DrawerTriggerProps = DialogTriggerProps; type DrawerTriggerComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerTrigger: DrawerTriggerComponent; export type DrawerContentProps = DialogContentProps; type DrawerContentComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerContent: DrawerContentComponent; export type DrawerHeaderProps = DialogHeaderProps; type DrawerHeaderComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerHeader: DrawerHeaderComponent; export type DrawerTitleProps = DialogTitleProps; type DrawerTitleComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerTitle: DrawerTitleComponent; export type DrawerDescriptionProps = DialogDescriptionProps; type DrawerDescriptionComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerDescription: DrawerDescriptionComponent; export type DrawerBodyProps = DialogBodyProps; type DrawerBodyComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerBody: DrawerBodyComponent; export type DrawerFooterProps = DialogFooterProps; type DrawerFooterComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DrawerFooter: DrawerFooterComponent; type DrawerComponent = typeof DrawerRoot & { Trigger: typeof DrawerTrigger; Content: typeof DrawerContent; Header: typeof DrawerHeader; Title: typeof DrawerTitle; Description: typeof DrawerDescription; Body: typeof DrawerBody; Footer: typeof DrawerFooter; }; export declare const Drawer: DrawerComponent; export default Drawer; //# sourceMappingURL=index.d.ts.map