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