/** @packageDocumentation
 * @module StatusBar
 */
import "./StatusBar.scss";
import * as React from "react";
import type { CommonDivProps, CommonProps } from "@itwin/core-react";
import type { ActivityMessageEventArgs } from "../messages/MessageManager";
import type { StatusBarWidgetControl } from "./StatusBarWidgetControl";
import { StatusBarPopup } from "./Popup";
/** State for the [[StatusBar]] React component
 * @internal
 */
interface StatusBarState {
    activityMessageInfo: ActivityMessageEventArgs | undefined;
}
/** Properties for the [[StatusBar]] React component
 * @public
 */
export interface StatusBarProps extends CommonProps {
    children?: React.ReactNode;
    widgetControl?: StatusBarWidgetControl;
}
/** Status Bar React component.
 * @public
 */
export declare class StatusBar extends React.Component<StatusBarProps, StatusBarState> {
    private messages;
    /** @internal */
    constructor(props: StatusBarProps);
    render(): React.ReactNode;
    componentDidMount(): void;
    componentWillUnmount(): void;
    private _handleMessageAddedEvent;
    private _updateMessages;
    /** Respond to clearing the message list */
    private _handleMessagesUpdatedEvent;
    /**
     * Sets state of the status bar to updated values reflecting activity progress.
     * @param args  New values to set for ActivityMessage
     */
    private _handleActivityMessageUpdatedEvent;
    /**
     * Hides ActivityMessage after cancellation
     */
    private _handleActivityMessageCancelledEvent;
    private _closeMessage;
}
/** StatusBar With Space Between Items React functional component
 * @public
 */
export declare function StatusBarSpaceBetween(props: CommonDivProps): JSX.Element;
/** StatusBar Left Section React functional component
 * @public
 */
export declare function StatusBarLeftSection(props: CommonDivProps): JSX.Element;
/** StatusBar Center Section React functional component
 * @public
 */
export declare function StatusBarCenterSection(props: CommonDivProps): JSX.Element;
/** StatusBar Right Section React functional component
 * @public
 */
export declare function StatusBarRightSection(props: CommonDivProps): JSX.Element;
/** Components used in a [[StatusBar]].
 * @public
 */
export declare namespace StatusBar {
    /** Field of a [[StatusBar]].
     * @beta
     */
    const Field: React.ForwardRefExoticComponent<import("./Field").StatusBarFieldProps & React.RefAttributes<HTMLDivElement>>;
    /** Popup of a [[StatusBar]].
     * @beta
     */
    const Popup: typeof StatusBarPopup;
}
export {};
//# sourceMappingURL=StatusBar.d.ts.map