import { BaseProps } from '@toptal/picasso-shared'; import { FunctionComponent, ReactNode } from 'react'; declare type AnchorType = 'bottom' | 'left' | 'right' | 'top'; declare type WidthType = 'narrow' | 'regular' | 'medium' | 'wide' | 'ultra-wide'; export interface Props extends BaseProps { /** Side from which the drawer will appear. */ anchor?: AnchorType; /** Drawer content */ children: ReactNode; /** Disable the portal behavior. The children stay within it's parent DOM hierarchy. */ disablePortal?: boolean; /** Specify if the drawer is opened or not */ open: boolean; /** Specify the drawer title */ title?: ReactNode; /** Callback fired when the component requests to be closed. */ onClose?: () => void; /** Width of Drawer */ width?: WidthType; } export declare const Drawer: FunctionComponent; export default Drawer;