/** @packageDocumentation
 * @module Backstage
 */
import type { IconSpec } from "@itwin/core-react";
import type { FrameworkBackstage } from "../framework/FrameworkBackstage";
import { InternalBackstageManager } from "./InternalBackstageManager";
/** Controls backstage.
 * @public
 * @deprecated in 4.15.0. Use {@link UiFramework.backstage} instead.
 */
export declare class BackstageManager {
    private internal;
    /**
     * Override internal implementation for a mock
     * @internal For tests only.
     */
    mockInternal(internal: InternalBackstageManager): void;
    /** Event raised when backstage is opened or closed. */
    get onToggled(): import("@itwin/core-bentley").BeEvent<(args: import("../framework/FrameworkBackstage").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