/** @packageDocumentation
 * @module AccuDraw
 */
import * as React from "react";
import type { OnCancelFunc, OnNumberCommitFunc } from "@itwin/appui-abstract";
import { Size } from "@itwin/core-react";
import type { PopupPropsBase } from "../popup/PopupManager";
/**
 * @public
 * @deprecated in 4.16.0. Props of deprecated component {@link CalculatorPopup}.
 */
export interface CalculatorPopupProps extends PopupPropsBase {
    initialValue: number;
    resultIcon: string;
    onOk: OnNumberCommitFunc;
    onCancel: OnCancelFunc;
}
interface CalculatorPopupState {
    size: Size;
}
/** Popup component for Calculator
 * @public
 * @deprecated in 4.16.0. Use {@link Calculator} component with {@link https://itwinui.bentley.com/docs/popover iTwinUI Popover} or {@link AccuDrawPopupManager.showCalculator} method instead.
 */
export declare class CalculatorPopup extends React.PureComponent<CalculatorPopupProps, CalculatorPopupState> {
    readonly state: {
        size: Size;
    };
    private _onSizeKnown;
    render(): React.JSX.Element;
}
export {};
//# sourceMappingURL=CalculatorPopup.d.ts.map