/** @packageDocumentation
 * @module AccuDraw
 */
import * as React from "react";
import type { OnCancelFunc, OnNumberCommitFunc } from "@itwin/appui-abstract";
import type { PopupPropsBase } from "../popup/PopupManager.js";
import type { SizeProps } from "../utils/SizeProps.js";
/**
 * @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: SizeProps;
}
/** 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: {
            width: number;
            height: number;
        };
    };
    private _onSizeKnown;
    render(): React.JSX.Element;
}
export {};
//# sourceMappingURL=CalculatorPopup.d.ts.map