import { default as React, ReactNode } from 'react';
export interface DrawerProps {
    isOpen: boolean;
    onClose?: () => void;
    children: ReactNode;
    /** Whether clicking the backdrop closes the drawer. Defaults to true. */
    isDismissable?: boolean;
    /** When true, Escape no longer closes the drawer. Defaults to false. */
    isKeyboardDismissDisabled?: boolean;
}
interface DrawerChildProps {
    type?: 'Header' | 'Body' | 'Footer';
    children: ReactNode;
    className?: string;
}
interface HeaderProps extends DrawerChildProps {
    as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
}
interface BodyProps extends DrawerChildProps {
}
interface FooterProps extends DrawerChildProps {
}
interface HeadingSlotProps {
    children?: ReactNode;
    className?: string;
    /** Heading level (h1-h6). Defaults to 2. */
    level?: 1 | 2 | 3 | 4 | 5 | 6;
}
interface DrawerComponent extends React.FC<DrawerProps> {
    Header: React.FC<HeaderProps>;
    Heading: React.FC<HeadingSlotProps>;
    Body: React.FC<BodyProps>;
    Footer: React.FC<FooterProps>;
}
declare const Drawer: DrawerComponent;
export { Drawer };
//# sourceMappingURL=Drawer.d.ts.map