export {} declare global { interface Fn { (...arg: T[]): T } declare module 'element-plus/dist/locale/zh-cn.mjs' type Nullable = T | null type ElRef = Nullable type Recordable = Record< K extends null | undefined ? string : K, T > type ComponentRef = InstanceType type LocaleType = 'zh-CN' | 'en' declare type TimeoutHandle = ReturnType declare type IntervalHandle = ReturnType type AxiosHeaders = | 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' type AxiosMethod = 'get' | 'post' | 'delete' | 'put' | 'GET' | 'POST' | 'DELETE' | 'PUT' type AxiosResponseType = | 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' interface AxiosConfig { params?: any data?: any url?: string method?: AxiosMethod headersType?: string responseType?: AxiosResponseType } interface IResponse { code: string data: T extends any ? T : T & any } interface PageParam { pageSize?: number pageNo?: number } interface deviceParam { deviceId: string siteId: string } type OperantAction = 'create' | 'update' | 'delete' interface Tree { id: number name: string children?: Tree[] | any[] } }