import React, { Component } from 'react'; import { SelectProps, SelectValue as AntSelectValue } from 'antd/lib/select'; import { WithBasicProps } from '../compose/withbasic'; declare type ProtoExtends = U & { [K in Exclude]?: NonNullable; }; export declare enum ValueType { number = "number", string = "string" } declare const defaultprop: { query: any; valueProp: string; valuePropType: string; labelProp: string; style: {}; dataSource: any[]; multiple: boolean; allowClear: boolean; showSearch: boolean; readOnly: boolean; useStorage: boolean; useCache: boolean; optionLabel: any; isFilter: boolean; hideSelected: boolean; onSearch: (_: any) => any; onSelect: (_: any) => any; onChange: (_: any) => any; onDeselect: (_: any) => any; afterQuery: (_: any) => any; onDropdownVisibleChange: (_: any) => any; blurOnSelect: boolean; wrap: boolean; historyLength: number; customNotDataContent: string; }; declare type NArray = T | T[]; export declare type SelectValue = AntSelectValue | NArray; export declare type Query = (f: string) => Promise; declare type Label = NArray; declare type DefaultProps = ProtoExtends; dataSource?: R[]; style?: React.CSSProperties; optionLabel?: Label; multiple?: boolean; onSelect?: (k: string, item: R) => void; selectorId?: string; onChange?: (key: SelectValue, items: R[]) => void; wrap?: boolean; onApiRef?: (api: any) => void; customLabel: (data: any) => any; }>; declare type BasicSelectorProps = ProtoExtends, DefaultProps>; export declare type SelectorProps = ProtoExtends>; export default class Selector extends Component> { render(): React.JSX.Element; } export {};