import { HTMLProps, ReactNode } from 'react';
import { ButtonProps, TooltipProps } from '@patternfly/react-core';
export interface MessageBoxProps extends HTMLProps<HTMLDivElement> {
    /** Content that can be announced, such as a new message, for screen readers */
    announcement?: string;
    /** Custom aria-label for scrollable portion of message box */
    ariaLabel?: string;
    /** Content to be displayed in the message box */
    children: ReactNode;
    /** Custom classname for the MessageBox component */
    className?: string;
    /** @deprecated innerRef has been deprecated. Use ref instead. Ref applied to message box  */
    innerRef?: React.Ref<HTMLDivElement>;
    /** Modifier that controls how content in MessageBox is positioned within the container */
    position?: 'top' | 'bottom';
    /** Click handler for additional logic for when scroll to top jump button is clicked */
    onScrollToTopClick?: () => void;
    /** Click handler for additional logic for when scroll to bottom jump button is clicked */
    onScrollToBottomClick?: () => void;
    /** Flag to enable automatic scrolling when new messages are added */
    enableSmartScroll?: boolean;
    /** Props passed to top jump button */
    jumpButtonTopProps?: ButtonProps;
    /** Props passed to bottom jump button */
    jumpButtonBottomProps?: ButtonProps;
    /** Props passed to top jump button tooltip */
    jumpButtonTopTooltipProps?: TooltipProps;
    /** Props passed to top jump button tooltip */
    jumpButtonBottomTooltipProps?: TooltipProps;
}
export interface MessageBoxHandle extends HTMLDivElement {
    /** Scrolls to the top of the message box */
    scrollToTop: (options?: ScrollOptions) => void;
    /** Scrolls to the bottom of the message box */
    scrollToBottom: (options?: {
        resumeSmartScroll?: boolean;
    } & ScrollOptions) => void;
    /** Returns whether the smart scroll feature is currently active */
    isSmartScrollActive: () => boolean;
}
export declare const MessageBox: import("react").ForwardRefExoticComponent<Omit<MessageBoxProps, "ref"> & import("react").RefAttributes<MessageBoxHandle | null>>;
export default MessageBox;
