import { Department, TypeTranslate, SearchResult, highLightString, TypeOnSure, HttpRequestAbout, AppendItem, NodeIconClickAction, TreeNodeTypes, DeleteItem, Staff, Blank, customModule } from './typeSolo'; import ProcessFetch, { FetchTypePromise } from './processFetch'; import { TabType } from './components/advanceModeTabs/types'; declare type Omit = Pick>; interface TranslationObject { [key: string]: any; } export interface UserSelectorTypes extends HttpRequestAbout { advanceMode: boolean; hideAdvanceModeText?: boolean; dataProvideByExternalPromise?: boolean; allowSearchNull?: boolean; departmentSelectAble?: boolean; showDepartMent?: boolean; onSure?: TypeOnSure; onError?: (arg: any) => void; onCancel?: (...arg: any[]) => void; translation?: TranslationObject; apiPath?: string; tenantId?: string | number; userId?: string | number; onChange?: (arg: any) => void; afterShowAdvance?: () => void; validateSearch?: (val: string) => { value: string; info: string; clearTipAfter?: number; }; defaultValue?: Staff[] | Department[] | Blank; showSearch?: boolean; queryString?: string; hideTabs?: TabType[]; eventHost?: any; AdvanceModePropsType?: boolean; [FetchTypePromise.contact]?: Function; [FetchTypePromise.staff]?: Function; [FetchTypePromise.department]?: Function; [FetchTypePromise.departmentStaff]?: Function; [FetchTypePromise.search]?: Function; customModule?: customModule; } export interface NormalModeStyledProps { advanceMode: boolean; allowSearchNull: boolean | undefined; selectItem: TypeOnSure; highLightString: highLightString; searchResult: SearchResult; searchFetching: boolean; showAdvanceMode: () => void; translate: TypeTranslate; hideAdvanceModeText?: boolean; activeIndex: number; getContainerRef: (ref: any) => void; onKeyUp?: (evt: any) => void; showDepartMent?: boolean; customSlotModule?: customModule; } export declare type TypesAfterExcludeUserSelector = Omit; export interface AdvanceModePropsType extends TypesAfterExcludeUserSelector { time2ShowSearchResult: boolean; hideSearchResut: () => void; translate: TypeTranslate; searchResult: SearchResult; highLightString: highLightString; searchFetching: boolean; activeIndex: number; getContainerRef: (ref: any) => void; onTabChange?: (name: string) => void; getDataSets?: (data: any) => void; resetSearch: () => void; onKeyUp?: (evt: any) => void; processFetchInstance: ProcessFetch; keyUpListenInstance: any; customSlotModule?: customModule; } export interface TabAndContentPropsType extends AdvanceModePropsType { appendItem: AppendItem; } export interface TreeSelectorPropsType { nodeIconClickAction: NodeIconClickAction; fetchDepartmentStaffUrl: string; departmentData: Department[]; treeDataInHash: TreeNodeTypes; advanceMode: boolean; deleteMode?: boolean; appendItem?: AppendItem; deleteItem?: DeleteItem; onError?: (...arg: any[]) => void; } export interface CommonPropsTypes { } export {};