/** @packageDocumentation
 * @module Frontstage
 */
import { IModelConnection, Tool } from "@itwin/core-frontend";
import { WidgetState } from "@itwin/appui-abstract";
import { ContentGroup } from "../content/ContentGroup";
import { ContentLayoutDef } from "../content/ContentLayout";
import { WidgetDef } from "../widgets/WidgetDef";
import { ToolInformation } from "../zones/toolsettings/ToolInformation";
import { ToolUiProvider } from "../zones/toolsettings/ToolUiProvider";
import { FrontstageDef } from "./FrontstageDef";
import { FrontstageProvider } from "./FrontstageProvider";
import { ModalFrontstageInfo } from "../framework/FrameworkFrontstages";
/** Frontstage Manager class.
 * @public
 * @deprecated in 3.7. Use `UiFramework.frontstages` property.
 */
export declare class FrontstageManager {
    /** Initializes the InternalFrontstageManager
     * @deprecated in 3.7. This is called internally.
    */
    static initialize(): void;
    /** This should only be called within InternalFrontstageManager and its tests.
     *  @internal
     */
    static ensureToolInformationIsSet(toolId: string): void;
    /** @internal */
    static get isInitialized(): boolean;
    static set isInitialized(v: boolean);
    /** Returns true if Frontstage is loading its controls. If false the Frontstage content and controls have been created. */
    static get isLoading(): boolean;
    /** @internal */
    static get nineZoneSize(): import("@itwin/core-react").Size | undefined;
    static set nineZoneSize(size: import("@itwin/core-react").Size | undefined);
    /** @internal */
    static get frontstageDefs(): ReadonlyMap<string, FrontstageDef>;
    /** Get Frontstage Deactivated event. */
    static get onFrontstageDeactivatedEvent(): import("../framework/FrameworkFrontstages").FrontstageDeactivatedEvent;
    /** Get Frontstage Activated event. */
    static get onFrontstageActivatedEvent(): import("../framework/FrameworkFrontstages").FrontstageActivatedEvent;
    /** Get Frontstage Activated event. */
    static get onFrontstageReadyEvent(): import("../framework/FrameworkFrontstages").FrontstageReadyEvent;
    /** Get Modal Frontstage Changed event. */
    static get onModalFrontstageChangedEvent(): import("../framework/FrameworkFrontstages").ModalFrontstageChangedEvent;
    /** Get Modal Frontstage Closed event. */
    static get onModalFrontstageClosedEvent(): import("../framework/FrameworkFrontstages").ModalFrontstageClosedEvent;
    /** Get Modal Frontstage Requested Closed event.
       * @alpha
       */
    static get onCloseModalFrontstageRequestedEvent(): import("../framework/FrameworkFrontstages").ModalFrontstageRequestedCloseEvent;
    /** Get Tool Activated event. */
    static get onToolActivatedEvent(): import("../framework/FrameworkFrontstages").ToolActivatedEvent;
    /** Get ToolSetting Reload event. */
    static get onToolSettingsReloadEvent(): import("@itwin/core-react").UiEvent<void>;
    /** Get Tool Panel Opened event.
       * @internal
       */
    static get onToolPanelOpenedEvent(): import("@itwin/core-react").UiEvent<void>;
    /** Get Tool Icon Changed event. */
    static get onToolIconChangedEvent(): import("../framework/FrameworkFrontstages").ToolIconChangedEvent;
    /** Get Content Layout Activated event. */
    static get onContentLayoutActivatedEvent(): import("../content/ContentLayout").ContentLayoutActivatedEvent;
    /** Get Content Control Activated event. */
    static get onContentControlActivatedEvent(): import("../content/ContentControl").ContentControlActivatedEvent;
    /** Get Navigation Aid Activated event. */
    static get onNavigationAidActivatedEvent(): import("../navigationaids/NavigationAidControl").NavigationAidActivatedEvent;
    /** Get Widget State Changed event. */
    static get onWidgetStateChangedEvent(): import("../widgets/WidgetDef").WidgetStateChangedEvent;
    /** @internal */
    static get onWidgetLabelChangedEvent(): import("@itwin/core-react").UiEvent<import("../widgets/WidgetDef").WidgetChangedEventArgs>;
    /** @internal */
    static get onWidgetShowEvent(): import("@itwin/core-react").UiEvent<import("../widgets/WidgetDef").WidgetEventArgs>;
    /** @internal */
    static get onWidgetExpandEvent(): import("@itwin/core-react").UiEvent<import("../widgets/WidgetDef").WidgetEventArgs>;
    /** @internal */
    static get onWidgetDefsUpdatedEvent(): import("@itwin/core-react").UiEvent<void>;
    /** @internal */
    static get onFrontstageNineZoneStateChangedEvent(): import("@itwin/core-react").UiEvent<import("./FrontstageDef").FrontstageNineZoneStateChangedEventArgs>;
    /** @internal */
    static get onFrontstageRestoreLayoutEvent(): import("@itwin/core-react").UiEvent<import("./FrontstageDef").FrontstageEventArgs>;
    /** Get Widget State Changed event.
       * @alpha
       */
    static get onPanelStateChangedEvent(): import("../stagepanels/StagePanelDef").PanelStateChangedEvent;
    /** @internal */
    static get onPanelSizeChangedEvent(): import("../stagepanels/StagePanelDef").PanelSizeChangedEvent;
    /** Get Nine-zone State Manager.
       * @deprecated in 3.6. Used in UI1.0 only.
       */
    static get NineZoneManager(): import("@itwin/appui-layout-react").NineZoneManager;
    /** Clears the Frontstage map.
       */
    static clearFrontstageDefs(): void;
    /** Clears the Frontstage Providers and the defs that may have been created from them.
       */
    static clearFrontstageProviders(): void;
    /** @internal */
    static clearFrontstageDefsForIModelId(iModelId: string | undefined): void;
    /** Add a Frontstage via a [[FrontstageProvider]].
       * @param frontstageProvider  FrontstageProvider representing the Frontstage to add
       */
    static addFrontstageProvider(frontstageProvider: FrontstageProvider): void;
    /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned. If
       * no cached FrontstageDef is found but a FrontstageProvider is registered a FrontstageDef will be created, cached, and
       * returned.
       * @param id  Id of the Frontstage to find
       * @returns  FrontstageDef with a given id if found, or undefined if not found.
       */
    static getFrontstageDef(id?: string): Promise<FrontstageDef | undefined>;
    /** Gets the active FrontstageDef. If a Frontstage is not active, undefined is returned.
       * @return  Active FrontstageDef, or undefined if one is not active.
       */
    static get activeFrontstageDef(): FrontstageDef | undefined;
    /** Gets the Id of the active FrontstageDef. If a Frontstage is not active, blank is returned.
       * @return  Id of the active FrontstageDef, or blank if one is not active.
       */
    static get activeFrontstageId(): string;
    static hasFrontstage(frontstageId: string): boolean;
    /** Sets the active FrontstageDef give the stageId.
       * @param  frontstageId  Id of the Frontstage to set active.
       * @returns A Promise that is fulfilled when the [[Frontstage]] is ready.
       */
    static setActiveFrontstage(frontstageId: string): Promise<void>;
    /** Sets the active FrontstageDef.
       * @param  frontstageDef  FrontstageDef to set active.
       * @returns A Promise that is fulfilled when the [[FrontstageDef]] is ready.
       */
    static setActiveFrontstageDef(frontstageDef: FrontstageDef | undefined): Promise<void>;
    /** Deactivates the active FrontstageDef.
       */
    static deactivateFrontstageDef(): Promise<void>;
    /** Gets the Id of the active tool. If a tool is not active, blank is returned.
       * @return  Id of the active tool, or blank if one is not active.
       */
    static get activeToolId(): string;
    /** Sets the active tool id */
    static setActiveToolId(toolId: string): void;
    /** Sets the active tool */
    static setActiveTool(tool: Tool): void;
    /** Gets the active tool's [[ToolInformation]] */
    static get activeToolInformation(): ToolInformation | undefined;
    /** Gets the Tool Setting React node of the active tool.
       * @return  Tool Setting React node of the active tool, or undefined if there is no active tool or Tool Settings for the active tool.
       * @internal
       */
    static get activeToolSettingsProvider(): ToolUiProvider | undefined;
    /** Sets the active layout, content group and active content.
       * @param contentLayoutDef  Content layout to make active
       * @param contentGroup  Content Group to make active
       */
    static setActiveLayout(contentLayoutDef: ContentLayoutDef, contentGroup: ContentGroup): Promise<void>;
    /** Sets the active layout, content group and active content.
       * @param contentGroup  Content Group to make active
       */
    static setActiveContentGroup(contentGroup: ContentGroup): Promise<void>;
    /** Opens a modal Frontstage. Modal Frontstages can be stacked.
       * @param modalFrontstage  Information about the modal Frontstage
       */
    static openModalFrontstage(modalFrontstage: ModalFrontstageInfo): void;
    /** Closes the top-most modal Frontstage.
       */
    static closeModalFrontstage(): void;
    /** Updates the top-most modal Frontstage.
       */
    static updateModalFrontstage(): void;
    /** Gets the top-most modal Frontstage.
       * @returns Top-most modal Frontstage, or undefined if there is none.
       */
    static get activeModalFrontstage(): ModalFrontstageInfo | undefined;
    /** Gets the number of modal Frontstages.
       * @returns Modal Frontstage count
       */
    static get modalFrontstageCount(): number;
    /** Sets the active Navigation Aid via its Id.
       * @param navigationAidId  Id of the Navigation Aid to set as active
       * @param iModelConnection IModelConnection to query for view data
       */
    static setActiveNavigationAid(navigationAidId: string, iModelConnection: IModelConnection): void;
    /** Sets the state of the widget with the given id
       * @param widgetId  Id of the Widget for which to set the state
       * @param state     New state of the widget
       * @returns true if the widget state was set successfully, or false if not.
       */
    static setWidgetState(widgetId: string, state: WidgetState): boolean;
    /** Finds a widget with the given id in the active frontstage
       * @param widgetId  Id of the Widget to find
       * @returns The WidgetDef with the given id, or undefined if not found.
       */
    static findWidget(widgetId: string): WidgetDef | undefined;
    /** Opens a nested Frontstage. Nested Frontstages can be stacked.
       * @param nestedFrontstage  Information about the nested Frontstage
       */
    static openNestedFrontstage(nestedFrontstage: FrontstageDef): Promise<void>;
    /** Closes the top-most nested Frontstage.
       */
    static closeNestedFrontstage(): Promise<void>;
    /** Gets the top-most nested Frontstage.
       * @returns Top-most nested Frontstage, or undefined if there is none.
       */
    static get activeNestedFrontstage(): FrontstageDef | undefined;
    /** Gets the number of nested Frontstages.
       * @returns Nested Frontstage count
       */
    static get nestedFrontstageCount(): number;
}
//# sourceMappingURL=FrontstageManager.d.ts.map