import * as React from 'react';
import { OptionsType } from './components/simpleList/index';
export declare type lookMode = 'simple' | 'advanced';
export declare type advanceProps = {
    searchFormMeta?: any;
    tableMeta?: any;
    advMetaParam?: Object;
    advMetaUrl?: string | Function;
    advFormatListData: Function;
    advFormatMetaData?: Function;
    advanceSearchUrl?: string;
    advanceSearchFunction?: Function;
    dlgTitle?: string;
    modalSize?: string;
    modalHeight?: string;
    maxSize?: number;
    tablePrimaryKey?: string;
};
export interface LookupProps {
    mode?: lookMode;
    multiple?: boolean;
    moreText?: string;
    btnOkText?: string;
    isAdvanceSearchVbl?: boolean;
    customCls?: boolean;
    isSearchBox?: boolean;
    isAvator?: boolean;
    options?: OptionsType[];
    selectValue?: OptionsType[];
    onSearchChange?: Function;
    onConfirm?: Function;
    onCancel?: Function;
    searchUrl?: string;
    formatData?: Function;
    onVisibleChange?: Function;
    advancedVbl?: boolean;
    advanceParam?: advanceProps;
    autoFocus?: boolean;
    translation?: {
        clearSelected: string;
        selected: string;
        emptyMsg: string;
        moreText: string;
        noDataText: string;
        btnOkText: string;
    };
}
export default class Lookup extends React.Component<LookupProps, any> {
    private modalRef;
    static defaultProps: {
        mode: string;
        multiple: boolean;
        autoFocus: boolean;
        translation: {
            clearSelected: string;
            selected: string;
            emptyMsg: string;
            moreText: string;
            noDataText: string;
            btnOkText: string;
            confirmText: string;
            cancelText: string;
        };
    };
    private advancedRef;
    constructor(props: any);
    componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void;
    onSearchAllClick: (selectValue: any) => void;
    renderSimpleList: () => JSX.Element;
    handleClose: () => void;
    handleCancel: () => void;
    handleAdvancedConfirm: () => void;
    getContainer: () => any;
    renderAdvancedSelect: () => JSX.Element;
    render(): JSX.Element;
}
