Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

820 B
Raw Blame
export {}

type AppCore = {
  api: APIs
}

declare global {
  declare const IS_TAURI: boolean
  declare const IS_WEB_APP: boolean
  declare const IS_MACOS: boolean
  declare const IS_WINDOWS: boolean
  declare const IS_LINUX: boolean
  declare const IS_IOS: boolean
  declare const IS_ANDROID: boolean
  declare const PLATFORM: string
  declare const VERSION: string
  declare const POSTHOG_KEY: string
  declare const POSTHOG_HOST: string
  declare const MODEL_CATALOG_URL: string
  declare const LATEST_JAN_MODEL_URL: string
  declare const AUTO_UPDATER_DISABLED: boolean
  declare const UPDATE_CHECK_INTERVAL_MS: number
  declare const GA_MEASUREMENT_ID: string
  declare const IS_DEV: boolean
  interface Window {
    core: AppCore | undefined
    gtag?: (...args: unknown[]) => void
    dataLayer?: unknown[]
  }
}