import React, { FC } from 'react'; import { OverlayProps } from '../../internal/Overlay'; import { JustifyProps } from '../../utilities/justify-props'; import { UseFocusTrapProps } from '../../hooks'; interface DrawerPropsStrict extends OverlayProps { /** Use animation for visibility transitions */ animate?: boolean; children?: React.ReactNode; /** Adds one or more classnames for an element */ className?: string; /** Footer Element */ footer?: React.ReactElement; /** Footer button alignment */ footerAlign?: JustifyProps; /** Drawer Header */ header?: React.ReactElement | string; /** Visibility of Drawer */ open?: boolean; /** Width of the Drawer */ width?: 'xs' | 's' | 'm' | 'l'; /** Options passed into useFocusTrap */ focusTrapOptions?: UseFocusTrapProps; /** Adds classnames to Drawer's content wrapper */ contentClassName?: string; /** Adds classnames to Drawer's footer wrapper */ footerClassName?: string; } export interface DrawerProps extends DrawerPropsStrict { /** Unstrict Props */ [propName: string]: any; } export declare const Drawer: FC; export {};