/** @packageDocumentation
 * @module Backstage
 */
import { IconSpec } from "@itwin/core-react";
import { BackstageToggledArgs, FrameworkBackstage } from "../framework/FrameworkBackstage";
/** Controls backstage.
 * @public
 */
export declare class BackstageManager {
    private internal;
    /** Event raised when backstage is opened or closed. */
    get onToggled(): import("@itwin/core-bentley").BeEvent<(args: BackstageToggledArgs) => void>;
    get isOpen(): boolean;
    open(): void;
    close(): void;
    toggle(): void;
    getBackstageToggleCommand(overrideIconSpec?: IconSpec): import("../shared/CommandItemDef").CommandItemDef;
    /** Get CommandItemDef that will toggle display of Backstage and allow iconSpec to be overridden
    */
    static getBackstageToggleCommand(overrideIconSpec?: IconSpec): import("../shared/CommandItemDef").CommandItemDef;
}
/** Hook that returns isOpen flag of the backstage.
 * @public
 */
export declare const useIsBackstageOpen: (manager: FrameworkBackstage) => boolean;
/** Hook that returns backstage manager.
 * @public
 */
export declare const useBackstageManager: () => FrameworkBackstage;
//# sourceMappingURL=BackstageManager.d.ts.map