import React, { PureComponent } from "react";
import PropTypes from 'prop-types';
interface IModalProps {
    onOk: ((val: any) => void);
    render: ((val: any) => React.ReactNode);
    title: string;
    visible: boolean;
}
declare type PEProps = {
    value?: any;
    defaultValue?: any;
    dataTextField?: string;
    dataValueField?: string;
    disabled: boolean;
    onChange?: ((val: any) => void);
    onClear?: (() => void);
    modalProps?: IModalProps;
    inputProps?: any;
    className?: string;
};
declare type PEState = {
    isVisible: boolean;
    inputObj: any;
    inputVal: string;
    currentValue: any;
};
declare class PopEdit extends PureComponent<PEProps, PEState> {
    static propTypes: {
        inputProps: PropTypes.Requireable<object>;
        formProps: PropTypes.Requireable<object>;
        modalProps: PropTypes.Requireable<object>;
    };
    constructor(props: any);
    inputRef: React.RefObject<unknown>;
    componentDidMount(): void;
    componentDidUpdate(prevProps: any): void;
    initState: () => {
        isVisible: boolean;
        inputObj: any;
        inputVal: any;
        currentValue: any;
    };
    clearListener: () => void;
    setValue: (values: any) => any;
    formatValue: (val: any) => any;
    formmatInputVal: (valueObj: any) => any;
    onOpen: () => void;
    handleCancel: () => void;
    handleOk: () => void;
    handleValue: (val: any) => void;
    renderInput: () => JSX.Element;
    render(): JSX.Element;
}
export default PopEdit;
