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