/** @packageDocumentation
 * @module Popup
 */
import * as React from "react";
import type { Primitives, PropertyRecord } from "@itwin/appui-abstract";
import type { PropertyUpdatedArgs } from "@itwin/components-react";
import type { PopupPropsBase } from "./PopupManager.js";
import type { SizeProps } from "../utils/SizeProps.js";
/** @beta */
export declare class InputEditorCommitHandler {
    readonly onCommit: (value: Primitives.Value) => void;
    constructor(onCommit: (value: Primitives.Value) => void);
    handleCommit: (args: PropertyUpdatedArgs) => void;
}
/** Props for popup editor
 * @beta */
export interface InputEditorPopupProps extends PopupPropsBase {
    record: PropertyRecord;
    onCancel: () => void;
    commitHandler: InputEditorCommitHandler;
}
interface InputEditorPopupState {
    size: SizeProps;
}
/** Popup component for Input Editor
 * @alpha
 */
export declare class InputEditorPopup extends React.PureComponent<InputEditorPopupProps, InputEditorPopupState> {
    readonly state: {
        size: {
            width: number;
            height: number;
        };
    };
    private _onSizeKnown;
    render(): React.JSX.Element;
}
export {};
//# sourceMappingURL=InputEditorPopup.d.ts.map