import type { PropType as VuePropType } from 'vue' declare global { interface Window { __APP_VERSION__: string __APP_INFO__: any } const __APP_INFO__: { pkg: { name: string version: string homepage: string } buildTime: string } declare const navigator: Navigator declare type TimeoutHandle = ReturnType declare type IntervalHandle = ReturnType declare type Recordable = Record declare type PropType = VuePropType declare type Nullable = T | null declare type RefType = T | null declare type ComponentRef = ComponentElRef | null declare interface ComponentElRef { $el: T } declare type ElRef = Nullable declare interface Fn { (...arg: T[]): R } declare interface PromiseFn { (...arg: T[]): Promise } declare function parseInt(s: string | number, radix?: number): number }