import * as React from "react"; export interface Staff { Id: number | string; Name: string; Email: string; Avatar: string; AvatarColor: string; DepartmentId: number; Department?: string; TopDepartmentName?: string; UserAvatar?: any; } export interface Department { Id: number | string; PId?: number; DepartmentName?: string; TotalUserCount?: number; isDepartment?: boolean; children?: Department[]; [index: string]: any; } export interface Blank { Id?: number | string; Name?: string; } export declare enum ItemType { staff = "staff", department = "department", blank = "blank" } export interface Item { type: ItemType; value: Staff | Department | Blank; } export interface CommonContact { Id: number; Name: string; Email: string; Avatar: string; } export interface HttpRequestAbout { fetchDepartmentUrl?: string; fetchDepartmentStaffUrl?: string; fetchSubordinateUrl?: string; fetchCommonContactUrl?: string; searchUrl?: string; } export declare type TypeTranslate = (arg: string) => string; export declare type SearchResult = Staff[]; export declare type highLightString = string; export declare type customModule = (typeof React.Component | React.FunctionComponent) | React.ReactNode; export declare type DeleteItem = (arg: Item) => void; export declare type AppendItem = (arg: Item) => void; export declare type NodeIconClickAction = 'append' | 'delete'; export declare type TypeOnSure = (arg: any) => void; export interface TreeNodeTypes extends Department { children?: Department[]; }