/** @packageDocumentation
 * @module Popup
 */
import * as React from "react";
import { DialogLayoutDataProvider, OnCancelFunc, RelativePosition } from "@itwin/appui-abstract";
import { Orientation, Size } from "@itwin/core-react";
import { 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(): JSX.Element;
}
export {};
//# sourceMappingURL=ToolSettingsPopup.d.ts.map