import { default as React, ReactNode } from 'react';
import { BaseProps } from '../../../libraries/common-types/src/common-types';
import { Position } from './types';
export type WithBackButton = {
    backButton: boolean;
    backButtonText: string;
    backButtonOnlyIcon?: boolean;
    onBackButtonClick: () => void;
};
export type WithoutBackButton = {
    backButton?: never;
    backButtonText?: never;
    backButtonOnlyIcon?: never;
    onBackButtonClick?: never;
};
export type DrawerContentProps = Omit<BaseProps, "children"> & {
    bodyText?: string;
    children: ReactNode;
    closeButtonAriaLabel: string;
    disableCloseOnClickOutside?: boolean;
    /**
     * If true, the drawer height will fit to its content on small screens.
     */
    fitToContent?: boolean;
    footerContent?: ReactNode;
    headerContent?: ReactNode;
    onCloseClick?: () => void;
    stickyFooter?: boolean;
    title: string;
    zIndex?: number;
    position?: Position;
} & (WithoutBackButton | WithBackButton);
export declare const DrawerContent: React.ForwardRefExoticComponent<(Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
    [key: `data-${string}`]: string | undefined;
}, "children"> & {
    bodyText?: string;
    children: ReactNode;
    closeButtonAriaLabel: string;
    disableCloseOnClickOutside?: boolean;
    /**
     * If true, the drawer height will fit to its content on small screens.
     */
    fitToContent?: boolean;
    footerContent?: ReactNode;
    headerContent?: ReactNode;
    onCloseClick?: () => void;
    stickyFooter?: boolean;
    title: string;
    zIndex?: number;
    position?: Position;
} & WithBackButton, "ref"> | Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
    [key: `data-${string}`]: string | undefined;
}, "children"> & {
    bodyText?: string;
    children: ReactNode;
    closeButtonAriaLabel: string;
    disableCloseOnClickOutside?: boolean;
    /**
     * If true, the drawer height will fit to its content on small screens.
     */
    fitToContent?: boolean;
    footerContent?: ReactNode;
    headerContent?: ReactNode;
    onCloseClick?: () => void;
    stickyFooter?: boolean;
    title: string;
    zIndex?: number;
    position?: Position;
} & WithoutBackButton, "ref">) & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=drawer-content.d.ts.map