import type { Api, Option, Payload, ThemeProps } from 'jamis-core';
export interface UserSelectProps extends ThemeProps {
    showNav?: boolean;
    navTitle?: string;
    options: Array<any>;
    value?: Array<Option> | Option | string;
    selection?: Array<Option>;
    valueField: string;
    labelField: string;
    multi?: boolean;
    multiple?: boolean;
    isDep?: boolean;
    isRef?: boolean;
    searchable?: boolean;
    showResultBox?: boolean;
    placeholder?: string;
    searchPlaceholder?: string;
    controlled?: boolean;
    fetcher?: (api: Api, data?: any, options?: PlainObject | undefined) => Promise<Payload>;
    onSearch?: (term: string, cancelExecutor?: (cancel: Function) => void) => Promise<any[]> | undefined;
    deferLoad: (data?: PlainObject, isRef?: boolean, param?: PlainObject) => Promise<Option[]>;
    onChange: (value: Array<Option> | Option, isReplace?: boolean) => void;
}
