1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /// <reference types="vite/client" />
- declare module '*.vue' {
- import type { DefineComponent } from 'vue'
- const component: DefineComponent<{}, {}, any>
- export default component
- }
- interface ImportMetaEnv {
- readonly VITE_LASER_HOST: string
- readonly VITE_LASER_OSS: string
- readonly VITE_PANO_OSS: string
- readonly VITE_OSS: string
-
- }
- declare const offline: boolean
- type ToChangeAPI<T extends Record<string, any>> = {
- [key in keyof T as `change${Capitalize<key & string>}`]: (prop: T[key]) => void
- }
- type SceneLocalPos = { x: number, y: number, z: number }
- type ScreenLocalPos = { x: number, y: number }
- type Rotation = { x: number, y: number, z: number, w: number }
- type LocalFile = { url: string, blob: Blob }
- type LocalMode<T, K> = T extends any[]
- ? LocalMode<T[number], K>[]
- : T extends {}
- ? K extends keyof T
- ? T[K] extends string
- ? Omit<T, K> & { [key in K]: string | LocalFile }
- : T[K] extends string[]
- ? Omit<T, K> & { [key in K]: (string | LocalFile)[] }
- : T
- : T
- : T
- type PartialProps<T, U extends keyof T = keyof T> = {
- [P in keyof Omit<T, U>]: T[P];
- } & {
- [P in U]?: T[P];
- }
- declare type I18nGlobalTranslation = {
- (key: string): string
- (key: string, locale: string): string
- (key: string, locale: string, list: unknown[]): string
- (key: string, locale: string, named: Record<string, unknown>): string
- (key: string, list: unknown[]): string
- (key: string, named: Record<string, unknown>): string
- }
- declare const $t: I18nGlobalTranslation
|