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 type PEProps = {
    value?: any;
    defaultValue?: any;
    dataTextField?: string;
    dataValueField?: string;
    disabled: boolean;
    onChange?: (val: any) => void;
    modalProps?: IModalProps;
    inputProps?: any;
    className?: string;
};
export 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: PEProps): void;
    setValue: (values: any[], isClear?: boolean) => {
        [x: string]: any;
    };
    formatValue: (val: {
        [x: string]: any;
        toString: () => any;
    }, isClear?: boolean) => {
        [x: string]: any;
    };
    formmatInputVal: (valueObj: any[]) => string;
    onOpen: () => void;
    handleCancel: () => void;
    handleOk: () => void;
    handleValue: (val: any) => void;
    handleClear: () => void;
    renderInput: () => React.JSX.Element;
    render(): React.JSX.Element;
}
export default PopEdit;
