import React from 'react';
export interface DrawerProps {
    /**
     * Gives more context to screen readers on the Drawer close button.
     */
    ariaLabel?: string;
    closeButtonText?: React.ReactNode;
    children: React.ReactNode;
    className?: string;
    footerBody?: React.ReactNode;
    footerTitle?: string;
    /**
     * Enables focus trap functionality within Drawer.
     */
    hasFocusTrap?: boolean;
    /**
     * Text for the Drawer heading. Required because the `heading` will be focused on mount.
     */
    heading: string | React.ReactNode;
    /**
     * A unique `id` to be used on heading element to label multiple instances of Drawer.
     */
    headingId?: string;
    /**
     * Heading type to override default `<h3>`
     */
    headingLevel?: '1' | '2' | '3' | '4' | '5';
    /**
     * Ref to heading element
     */
    headingRef?: React.MutableRefObject<any>;
    /**
     * Enables "sticky" position of Drawer header element.
     */
    isHeaderSticky?: boolean;
    /**
     * Enables "sticky" position of Drawer footer element.
     */
    isFooterSticky?: boolean;
    onCloseClick: (event: React.MouseEvent | React.KeyboardEvent) => void;
}
export declare const Drawer: {
    (props: DrawerProps): JSX.Element;
    defaultProps: {
        headingLevel: string;
        hasFocusTrap: boolean;
    };
};
export default Drawer;
