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