/** @packageDocumentation
 * @module Popup
 */
import * as React from "react";
import type { DialogLayoutDataProvider, OnCancelFunc, RelativePosition } from "@itwin/appui-abstract";
import type { Orientation } from "@itwin/components-react";
import type { PopupPropsBase } from "./PopupManager.js";
import type { SizeProps } from "../utils/SizeProps.js";
/** Props for defining a popup tool settings component
 * @beta */
export interface ToolSettingsPopupProps extends PopupPropsBase {
    dataProvider: DialogLayoutDataProvider;
    relativePosition: RelativePosition;
    orientation: Orientation;
    onCancel: OnCancelFunc;
}
interface ToolSettingsPopupState {
    size: SizeProps;
}
/** Popup component for Tool Settings
 * @beta
 */
export declare class ToolSettingsPopup extends React.PureComponent<ToolSettingsPopupProps, ToolSettingsPopupState> {
    readonly state: {
        size: {
            width: number;
            height: number;
        };
    };
    constructor(props: ToolSettingsPopupProps);
    private _onSizeKnown;
    private _handleKeyDown;
    render(): React.JSX.Element;
}
export {};
//# sourceMappingURL=ToolSettingsPopup.d.ts.map