/** @packageDocumentation
 * @module Utilities
 */
import type { Store } from "redux";
import type { TranslationOptions } from "@itwin/core-common";
import type { IModelConnection, ViewState } from "@itwin/core-frontend";
import { SnapMode } from "@itwin/core-frontend";
import type { DialogLayoutDataProvider, DialogProps, Primitives, PropertyDescription, PropertyRecord } from "@itwin/appui-abstract";
import { UiEvent } from "@itwin/appui-abstract";
import type { UiStateStorage } from "@itwin/core-react";
import { SettingsManager } from "@itwin/core-react";
import type { FrameworkState as ReduxFrameworkState } from "./redux/FrameworkState";
import type { CursorMenuData, CursorMenuPayload, PresentationSelectionScope } from "./redux/SessionState";
import type { HideIsolateEmphasizeActionHandler } from "./selection/HideIsolateEmphasizeManager";
import { WidgetManager } from "./widgets/WidgetManager";
import type { FrameworkBackstage } from "./framework/FrameworkBackstage";
import type { FrameworkChildWindows } from "./framework/FrameworkChildWindows";
import type { FrameworkControls } from "./framework/FrameworkControls";
import type { FrameworkFrontstages } from "./framework/FrameworkFrontstages";
import type { FrameworkToolSettings } from "./framework/FrameworkToolSettings";
import type { FrameworkContent } from "./framework/FrameworkContent";
import type { FrameworkDialogs } from "./framework/FrameworkDialogs";
import type { FrameworkKeyboardShortcuts } from "./framework/FrameworkKeyboardShortcuts";
import type { FrameworkVisibility } from "./framework/FrameworkVisibility";
import type { XAndY } from "@itwin/core-geometry";
import { PopupManager } from "./popup/PopupManager";
import type { RefObject } from "react";
import type { KeyinEntry } from "./keyins/Keyins";
import { type Placement } from "./utils/Placement";
import type { ToolbarProps } from "./toolbar/Toolbar";
import type { CursorMenuItemProps } from "./shared/MenuItem";
import { type ThemeId } from "./theme/ThemeId";
interface ShowInputEditorOptions {
    location: XAndY;
    anchorElement?: HTMLElement;
    initialValue: Primitives.Value;
    propertyDescription: PropertyDescription;
    onCommit: (value: Primitives.Value) => void;
    onCancel: () => void;
}
/** Interface to be implemented but any classes that wants to load their user settings when the UiStateEntry storage class is set.
 * @public
 */
export interface UserSettingsProvider {
    /** Unique provider Id */
    providerId: string;
    /** Function to load settings from settings storage */
    loadUserSettings(storage: UiStateStorage): Promise<void>;
}
/** UiVisibility Event Args interface.
 * @public
 * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.
 */
export interface UiVisibilityEventArgs {
    visible: boolean;
}
/** UiVisibility Event class.
 * @public
 * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
 */
export declare class UiVisibilityChangedEvent extends UiEvent<UiVisibilityEventArgs> {
}
/** TrackingTime time argument used by our feature tracking manager as an option argument to the TelemetryClient
 * @internal
 */
export interface TrackingTime {
    startTime: Date;
    endTime: Date;
}
type fn = typeof PopupManager.showComponent;
type ShowComponentParams = Parameters<fn>;
type OptionalShowComponentParams = [
    ShowComponentParams[0],
    Partial<Exclude<ShowComponentParams[1], "anchor"> & {
        anchorRef?: RefObject<HTMLElement>;
    }>?
];
/** Main entry point to configure and interact with the features provided by the AppUi-react package.
 * @public
 */
export declare class UiFramework {
    /** Operation on the backstage component. */
    static get backstage(): FrameworkBackstage;
    /** Manage access to the child windows. */
    static get childWindows(): FrameworkChildWindows;
    /** Manage registered controls. */
    static get controls(): FrameworkControls;
    /** Manage access to frontstages and related helper methods. */
    static get frontstages(): FrameworkFrontstages;
    /** Manage access and behavior of the tool settings. */
    static get toolSettings(): FrameworkToolSettings;
    /** Manage content presented by the frontstages. */
    static get content(): FrameworkContent;
    /** Manage displayed dialogs. */
    static get dialogs(): FrameworkDialogs;
    /** Manages global keyboard shortcuts
     *
     * Note: This only manages the list of available shortcuts registered with it. It does not listens to the actual
     * keyboard events. In order for these shortcuts to be called upon a keyboard event, the application can
     * override the `IModelApp.toolAdmin` and assign it [[FrameworkToolAdmin]] or create an event listener
     * and call `UiFramework.keyboardShortcuts.processKey`.
     */
    static get keyboardShortcuts(): FrameworkKeyboardShortcuts;
    /** Manages UI visibility (Show/Hide). */
    static get visibility(): FrameworkVisibility;
    private static _initialized;
    private static _store?;
    private static _complaint;
    private static _frameworkStateKeyInStore;
    private static _backstageManager?;
    private static _widgetManager?;
    private static _hideIsolateEmphasizeActionHandler?;
    /** this provides a default state storage handler */
    private static _uiStateStorage;
    private static _settingsManager?;
    private static _uiSettingsProviderRegistry;
    private static _childWindowManager;
    static useDefaultPopoutUrl: boolean;
    private static readonly CONTEXT_MENU_OFFSET;
    /** Registers class that will be informed when the UserSettingsStorage location has been set or changed. This allows
     * classes to load any previously saved settings from the new storage location. Common storage locations are the browser's
     * local storage, or the iTwin Product Settings cloud storage available via the SettingsAdmin see `IModelApp.settingsAdmin`.
     */
    static registerUserSettingsProvider(entry: UserSettingsProvider): boolean;
    /** Get Show Ui event. */
    static readonly onUiVisibilityChanged: UiVisibilityChangedEvent;
    /** Called by the application to initialize the UiFramework. Also initializes UIIModelComponents, UiComponents, UiCore. */
    static initialize(): Promise<void>;
    /** Called by the application to initialize the UiFramework. Also initializes UIIModelComponents, UiComponents, UiCore.
     * @param store The single Redux store created by the host application. If this is `undefined` then it is assumed that the [[StateManager]] is being used to provide the Redux store.
     * @param frameworkStateKey The name of the key used by the app when adding the UiFramework state into the Redux store. If not defined "frameworkState" is assumed. This value is ignored if [[StateManager]] is being used. The StateManager use "frameworkState".
     * @deprecated in 4.15.0. Continue using redux initializer until all application components react to redux deprecations. Use overload without parameters instead.
     */
    static initialize(store: Store<any> | undefined, frameworkStateKey?: string): Promise<void>;
    /** Un-registers the UiFramework internationalization service namespace. */
    static terminate(): void;
    /** Determines if UiFramework has been initialized */
    static get initialized(): boolean;
    /** Property that returns the SettingManager used by AppUI-based applications. */
    static get settingsManager(): SettingsManager;
    /** The internationalization service namespace. */
    static get localizationNamespace(): string;
    static get hideIsolateEmphasizeActionHandler(): HideIsolateEmphasizeActionHandler;
    static setHideIsolateEmphasizeActionHandler(handler: HideIsolateEmphasizeActionHandler | undefined): void;
    /** @alpha */
    static get widgetManager(): WidgetManager;
    /** Calls localization.getLocalizedString with the "UiFramework" namespace. Do NOT include the namespace in the key.
     * @internal
     */
    static translate(key: string | string[], options?: TranslationOptions): string;
    /** @internal */
    static get packageName(): string;
    /** @internal */
    static loggerCategory(obj: any): string;
    /** Show a context menu at a particular location.
     * @param items Properties of the menu items to display.
     * @param location Location of the context menu, relative to the origin of anchorElement or the overall window.
     * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.
     * @return true if the menu was displayed, false if the menu could not be displayed.
     */
    static openContextMenu(items: CursorMenuItemProps[], location: XAndY, anchorElement?: HTMLElement): boolean;
    static openCursorMenu(menuData: CursorMenuData | CursorMenuPayload | undefined): void;
    static closeCursorMenu(): void;
    /** @note Returned value is immutable.  */
    static getCursorMenuData(): // eslint-disable-next-line deprecation/deprecation
    CursorMenuData | CursorMenuPayload | undefined;
    static setIModelConnection(iModelConnection: IModelConnection | undefined, immediateSync?: boolean): void;
    static getIModelConnection(): IModelConnection | undefined;
    static setNumItemsSelected(numSelected: number): void;
    static getNumItemsSelected(): number;
    /** Called by iModelApp to initialize saved UI state from registered UseSettingsProviders. */
    static initializeStateFromUserSettingsProviders(immediateSync?: boolean): Promise<void>;
    static setUiStateStorage(storage: UiStateStorage, immediateSync?: boolean): Promise<void>;
    /** The UI Settings Storage is a convenient wrapper around Local Storage to assist in caching state information across user sessions.
     * It was previously used to conflate both the state information across session and the information driven directly from user explicit action,
     * which are now handled with user preferences.
     */
    static getUiStateStorage(): UiStateStorage;
    static setDefaultViewState(viewState: ViewState, immediateSync?: boolean): void;
    static getDefaultViewState(): ViewState | undefined;
    static getIsUiVisible(): boolean;
    static setIsUiVisible(visible: boolean): void;
    /** @deprecated in 4.13.0. Use {@link @itwin/core-bentley#ProcessDetector.isMobileBrowser} instead. */
    static isMobile(): boolean;
    /** Determines whether a ContextMenu is open
     * @alpha
     */
    static get isContextMenuOpen(): boolean;
    /** Show a Card containing content, a title and a toolbar at a particular location.
     * @param content The React component of the content to display
     * @param title Title to display at the top of the card.
     * @param toolbarProps Properties of the Toolbar to display.
     * @param location Location of the Card, relative to the origin of anchorElement or the window.
     * @param offset Offset of the Card from the location.
     * @param onItemExecuted Function invoked after a Toolbar item is executed
     * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the Card
     * @param placement {@link Placement} relative to the given location. Defaults to top-end.
     * @param anchorElement The HTMLElement that anchors the Card. If undefined, the location is relative to the overall window.
     * @return true if the Card was displayed, false if the Card could not be displayed.
     * @internal
     */
    static showCard(content: React.ReactNode, title: string | PropertyRecord | undefined, toolbarProps: ToolbarProps, location: XAndY, offset: XAndY, onItemExecuted: (item: any) => void, onCancel: () => void, placement?: Placement, anchorElement?: HTMLElement): boolean;
    /**
     * Hides a Card displayed with {@link UiFramework.showCard}
     * @internal
     */
    static hideCard(): boolean;
    /** Opens a Tool Settings Ui popup at a particular location.
     * @param dataProvider The DialogLayoutDataProvider for the tool settings popup dialog.
     * @param location Location of the tool settings, relative to the origin of anchorElement or the window
     * @param offset Offset of the tool settings from the location
     * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the tool settings
     * @param placement {@link Placement} relative to the given location. Defaults to top-end.
     * @param anchorElement The HTMLElement that anchors the tool settings. If undefined, the location is relative to the overall window.
     * @return true if the tool settings were displayed, false if the tool settings could not be displayed.
     * @internal
     */
    static openToolSettingsPopup(dataProvider: DialogLayoutDataProvider, location: XAndY, offset: XAndY, onCancel: () => void, placement?: Placement, anchorElement?: HTMLElement): boolean;
    /**
     * Closes the Tool Settings Ui popup.
     * @internal
     */
    static closeToolSettingsPopup(): boolean;
    /** Show a Toolbar at a particular location.
     * @param toolbarProps Properties of the Toolbar to display.
     * @param location Location of the Toolbar, relative to the origin of anchorElement or the overall window.
     * @param offset Offset of the Toolbar from the location.
     * @param onItemExecuted Function invoked after a Toolbar item is executed
     * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the Toolbar
     * @param placement {@link Placement} relative to the given location. Defaults to top-end.
     * @param anchorElement The HTMLElement that anchors the Toolbar. If undefined, the location is relative to the overall window.
     * @return true if the Toolbar was displayed, false if the Toolbar could not be displayed.
     */
    static showToolbar(toolbarProps: ToolbarProps, location: XAndY, offset: XAndY, onItemExecuted: (item: any) => void, onCancel: () => void, placement?: Placement, anchorElement?: HTMLElement): boolean;
    /** Hides a toolbar displayed via {@link UiFramework.showToolbar} */
    static hideToolbar(): boolean;
    /** Show a menu button at a particular location. A menu button opens a context menu.
     * @param id Id of the menu button. Multiple menu buttons may be displayed.
     * @param menuItemsProps Properties of the menu items to display.
     * @param location Location of the context menu, relative to the origin of anchorElement or the window.
     * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.
     * @return true if the menu was displayed, false if the menu could not be displayed.
     */
    static showMenuButton(id: string, menuItemsProps: CursorMenuItemProps[], location: XAndY, anchorElement?: HTMLElement): boolean;
    /** Hides a menu button.
     * @param id Id of the menu button. Multiple menu buttons may be displayed.
     * @return true if the menu was hidden, false if the menu could not be hidden.
     */
    static hideMenuButton(id: string): boolean;
    /** Show a calculator at a particular location.
     * @param initialValue Value initially displayed in the calculator.
     * @param resultIcon Icon displayed to the left of the value.
     * @param location Location of the calculator, relative to the origin of anchorElement or the window.
     * @param onOk Function called when the OK button or the Enter key is pressed.
     * @param onCancel Function called when the Cancel button or the Escape key  is pressed.
     * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.
     * @return true if the menu was displayed, false if the menu could not be displayed.
     */
    static showCalculator(initialValue: number, resultIcon: string, location: XAndY, onOk: (value: number) => void, onCancel: () => void, anchorElement?: HTMLElement): boolean;
    /** Hides the calculator. */
    static hideCalculator(): boolean;
    /** Show a React Element at a particular location.
     * @param component The ReactElement to display
     * @param options - Optional {@link: ShowComponentParams}
     */
    static showComponent(...params: OptionalShowComponentParams): boolean;
    /**
     * Hides the Component previously shown with {@link UiFramework.showComponent}
     */
    static hideComponent(id?: string): boolean;
    /** Show an input editor for an angle value at a particular location.
     * @param initialValue Value initially displayed in the editor.
     * @param location Location of the editor, relative to the origin of anchorElement or the window.
     * @param onCommit Function called when the OK button or the Enter key is pressed.
     * @param onCancel Function called when the Cancel button or the Escape key  is pressed.
     * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.
     * @return true if the editor was displayed, false if the editor could not be displayed.
     */
    static showAngleEditor(initialValue: number, location: XAndY, onCommit: (value: number) => void, onCancel: () => void, anchorElement?: HTMLElement): boolean;
    /** Show an input editor for a length value at a particular location.
     * @param ShowInputEditorOptions Options detailed below for the input editor
     * @param ShowInputEditorOptions.anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.
     * @param ShowInputEditorOptions.propertyDescription Description of the primitive value property
     * @param ShowInputEditorOptions.initialValue Value initially displayed in the editor.
     * @param ShowInputEditorOptions.location Location of the editor, relative to the origin of anchorElement or the window.
     * @param ShowInputEditorOptions.onCommit Function called when the OK button or the Enter key is pressed.
     * @param ShowInputEditorOptions.onCancel Function called when the Cancel button or the Escape key is pressed.
     * @return true if the editor was displayed, false if the editor could not be displayed.
     * @internal
     */
    static showInputEditor({ anchorElement, initialValue, location, onCancel, onCommit, propertyDescription, }: ShowInputEditorOptions): boolean;
    /** Show an input editor for a length value at a particular location.
     * @param dimension Dimension determining which editor to display.
     * @param initialValue Value initially displayed in the editor.
     * @param location Location of the editor, relative to the origin of anchorElement or the window.
     * @param onCommit Function called when the OK button or the Enter key is pressed.
     * @param onCancel Function called when the Cancel button or the Escape key  is pressed.
     * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.
     * @return true if the editor was displayed, false if the editor could not be displayed.
     */
    static showDimensionEditor(dimension: "height" | "length", initialValue: number, location: XAndY, onCommit: (value: number) => void, onCancel: () => void, anchorElement?: HTMLElement): boolean;
    /** Hides the input editor.
     * @internal
     */
    static hideInputEditor(): boolean;
    /** Opens a Dialog and automatically populates it using the properties defined by the UiDataProvider.
     * @param uiDataProvider The UiDataProvider for the tool settings
     * @param title Specify title for dialog.
     * @param isModal Specify if the dialog is opened as a modal or modeless.
     * @param id Id of the dialog that is used to close it.
     * @param optionalProps Optional props for Dialog construction.
     * @return true if the tool settings were displayed, false if the tool settings could not be displayed.
     * @internal
     */
    static openDialog(uiDataProvider: DialogLayoutDataProvider, title: string, isModal: boolean, id: string, optionalProps?: DialogProps): boolean;
    /** Closes the Dialog with the specified dialogId.
     * @param dialogId Id of the dialog to close.
     * @internal
     */
    static closeDialog(dialogId: string): boolean;
    /** Show the Key-in Palette to display key-in from all registered Tools.
     * @param keyinEntries A list of KeyinEntry to display in the palette. These can be gathered and filtered from iModelApp.tools.getToolList()
     * @param htmlElement The HTMLElement that anchors the Popup. If undefined, the location is relative to the overall window.
     * @return true if the Command Palette was displayed, false if it could not be displayed.
     */
    static showKeyinPalette(keyinEntries: KeyinEntry[], htmlElement?: HTMLElement): boolean;
    /** Hides the Key-in Palette. */
    static hideKeyinPalette(): boolean;
    private static resolveHtmlElement;
    /** @deprecated in 4.15.0. Use your preferred state management library instead and {@link SyncUiEventDispatcher} to dispatch sync UI events. */
    static dispatchActionToStore(type: string, payload: any, immediateSync?: boolean): void;
    /** Key used to access framework state from redux store.
     * @deprecated in 4.15.0. Use your preferred state management library instead.
     */
    static get frameworkStateKey(): string;
    /** The Redux store.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use your preferred state management library instead.
     */
    static get store(): Store<any>;
    /** @internal */
    static get reduxStore(): Store<any> | undefined;
    /** The UiFramework state maintained by Redux.
     * @note Returned fields should not be modified. Use the appropriate action dispatchers to modify the state.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use your preferred state management library instead.
     */
    static get frameworkState(): ReduxFrameworkState | undefined;
    /** Set the theme value used by the [[ThemeManager]] component.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `theme` as a prop.
     */
    static getColorTheme(): ThemeId;
    /** Set the theme value used by the [[ThemeManager]] component.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use `theme` prop of {@link ThemeManager}.
     */
    static setColorTheme(theme: ThemeId): void;
    /** Returns the variable controlling whether the overlay is displayed in a Viewport.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `viewOverlay` as a prop.
     */
    static get viewOverlayDisplay(): boolean;
    /** Set the variable that controls display of the view overlay. Applies to all viewports in the app.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.viewOverlay} prop of {@link ConfigurableUiContent}.
     */
    static setViewOverlayDisplay(display: boolean): void;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `widgetOpacity` as a prop.
     */
    static getWidgetOpacity(): number;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.widgetOpacity} prop of {@link ConfigurableUiContent}.
     */
    static setWidgetOpacity(opacity: number): void;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `snapMode` as a prop.
     */
    static getAccudrawSnapMode(): SnapMode;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use `snapMode` prop of {@link SnapModeField}.
     */
    static setAccudrawSnapMode(snapMode: SnapMode): void;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `useDragInteraction` as a prop.
     */
    static get useDragInteraction(): boolean;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use `useDragInteraction` prop of {@link Toolbar}.
     */
    static setUseDragInteraction(useDragInteraction: boolean): void;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `widgetIcon` as a prop.
     */
    static get showWidgetIcon(): boolean;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.widgetIcon} prop of {@link ConfigurableUiContent}.
     */
    static setShowWidgetIcon(value: boolean): void;
    /** When `true`, panels will close as soon as the mouse leave the panel.
     * When `false` (default), panels will close on next click outside the panel.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `collapsePanels` as a prop.
     */
    static get autoCollapseUnpinnedPanels(): boolean;
    /** Method used to enable the automatic closing of an unpinned widget panel as soon as the
     * mouse leaves the widget panel. The default behavior is to require a mouse click outside
     * the panel before it is closed.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.collapsePanels} prop of {@link ConfigurableUiContent}.
     */
    static setAutoCollapseUnpinnedPanels(value: boolean): void;
    /** Animate Tool Settings on appear.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `animateToolSettings` as a prop.
     */
    static get animateToolSettings(): boolean;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.animateToolSettings} prop of {@link ConfigurableUiContent}.
     */
    static setAnimateToolSettings(value: boolean): void;
    /** Use Tool Name As Tool Settings Widget Tab Label.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `toolAsToolSettingsLabel` as a prop.
     */
    static get useToolAsToolSettingsLabel(): boolean;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.toolAsToolSettingsLabel} prop of {@link ConfigurableUiContent}.
     */
    static setUseToolAsToolSettingsLabel(value: boolean): void;
    /** UiFramework.getToolbarOpacity() returns a number between 0 and 1 that is the non-hovered opacity for toolbars.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `opacity` as a prop.
     */
    static getToolbarOpacity(): number;
    /** UiFramework.setToolbarOpacity() sets the non-hovered opacity to the value specified.
     * @param opacity a value between 0 and 1. The default value is 0.5. IT IS NOT ADVISED TO USE A VALUE BELOW 0.2
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use {@link ConfigurableUiContentProps.toolbarOpacity} prop of {@link ConfigurableUiContent}.
     */
    static setToolbarOpacity(opacity: number): void;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Get id from iModel connection.
     */
    static getActiveIModelId(): string;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Not used by AppUI components.
     */
    static setActiveIModelId(iModelId: string): void;
    /** Returns the stored active selection scope id.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `activeScope` as a prop.
     */
    static getActiveSelectionScope(): string;
    /** This method stores the active selection scope to the supplied scope id, and triggers
     * a `SessionStateActionId.SetSelectionScope` event in the `SyncUiEventDispatcher`.
     * Note: As of 4.0, this method *does not change* the active selection scope in the `Presentation.selection.scopes.activeScope` property.
     * This event should be listened to and the change should typically be applied to
     * `Presentation.selection.scopes.activeScope` property from the `@itwin/presentation-frontend` package.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Use `activeScope` prop of {@link SelectionScopeField}.
     */
    static setActiveSelectionScope(selectionScopeId: string): void;
    /** Returns the stored list of available selection scopes. This list should be set by the application
     * by dispatching the `setAvailableSelectionScopes` action.
     * The value for this action typically come from `Presentation.selection.scopes.getSelectionScopes()`
     * method found in the `@itwin/presentation-frontend` package.
     * @note Returned value is immutable.
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Components should take `selectionScopes` as a prop.
     */
    static getAvailableSelectionScopes(): PresentationSelectionScope[];
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Not used by AppUI components.
     */
    static getDefaultIModelViewportControlId(): string | undefined;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Not used by AppUI components.
     */
    static setDefaultIModelViewportControlId(iModelViewportControlId: string, immediateSync?: boolean): void;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Not used by AppUI components.
     */
    static getDefaultViewId(): string | undefined;
    /**
     * @note Requires redux provider.
     * @deprecated in 4.15.0. Not used by AppUI components.
     */
    static setDefaultViewId(viewId: string, immediateSync?: boolean): void;
}
export {};
//# sourceMappingURL=UiFramework.d.ts.map