declare module '@/utils/is' {
  export const is: (val: unknown, type: string) => boolean
  export const isDef: <T = unknown>(val?: T) => val is T
  export const isUnDef: <T = unknown>(val?: T) => val is T
  export const isObject: (val: any) => val is Record<any, any>
  export const isEmpty: (val: any) => boolean
  export const isDate: (val: unknown) => val is Date
  export const isNull: (val: unknown) => val is null
  export const isNullAndUnDef: (val: unknown) => val is null | undefined
  export const isNullOrUnDef: (val: unknown) => val is null | undefined
  export const isNumber: (val: unknown) => val is number
  export const isPromise: <T = any>(val: unknown) => val is Promise<T>
  export const isString: (val: unknown) => val is string
  export const isFunction: (val: unknown) => val is Function
  export const isBoolean: (val: unknown) => val is boolean
  export const isRegExp: (val: unknown) => val is RegExp
  export const isArray: (val: any) => val is Array<any>
  export const isWindow: (val: any) => val is Window
  export const isElement: (val: unknown) => val is Element
  export const isMap: (val: unknown) => val is Map<any, any>
  export const isServer: boolean
  export const isClient: boolean
  export const isUrl: (path: string) => boolean
  export const isDark: () => boolean
  export const isImgPath: (path: string) => boolean
  export const isEmptyVal: (val: any) => boolean
} 