import { Component } from 'react';
import 'antd/lib/modal/style/css';
import 'antd/lib/row/style/css';
import 'antd/lib/input/style/css';
import 'antd/lib/form/style/css';
import './SelectorModal.less';
import { WrappedFormUtils } from 'antd/lib/form/Form';
interface IState {
    localSearch: string;
    modalVisible: boolean;
}
interface IOwnProps {
    /** 同table组件 */
    columns: any[];
    /** 同table组件 */
    dataSource: any[];
    title: string;
    /** 选中项显示名称 */
    label: string;
    /** 同table组件 */
    rowKey?: string;
    /** 初始选中项，同form组件 initialValue */
    initialSelectedRows: any[];
    /** 禁止修改初始选中项 */
    disabledChangeInitialSelected: boolean;
    onSubmit: (selectedRows: any[]) => void;
    form: WrappedFormUtils;
}
interface IOtherProps {
    form: WrappedFormUtils;
}
declare class SelectorModal extends Component<IOwnProps & IOtherProps, IState> {
    static defaultProps: {
        title: string;
        label: string;
        initialSelectedRows: never[];
        disabledChangeInitialSelected: boolean;
    };
    constructor(props: any);
    private handleSubmit;
    private setModalVisible;
    private afterClose;
    private handleLocalSearchChange;
    render(): JSX.Element;
}
declare const _default: import("antd/lib/form/interface").ConnectedComponentClass<typeof SelectorModal, Pick<IOwnProps, "columns" | "dataSource" | "title" | "label" | "rowKey" | "initialSelectedRows" | "disabledChangeInitialSelected" | "onSubmit">>;
export default _default;
