import { ExcalidrawAutomate } from "./ExcalidrawAutomate"; export type ConnectionPoint = "top" | "bottom" | "left" | "right" | null; export type Packages = { react: any, reactDOM: any, excalidrawLib: any, } export type ValueOf = T[keyof T]; export type DynamicStyle = "none" | "gray" | "colorful"; export type DeviceType = { isDesktop: boolean, isPhone: boolean, isTablet: boolean, isMobile: boolean, isLinux: boolean, isMacOS: boolean, isWindows: boolean, isIOS: boolean, isAndroid: boolean }; declare global { interface Window { ExcalidrawAutomate: ExcalidrawAutomate; } } declare module "obsidian" { interface App { isMobile(): boolean; getObsidianUrl(file:TFile): string; } interface Keymap { getRootScope(): Scope; } interface Scope { keys: any[]; } interface Workspace { on( name: "hover-link", callback: (e: MouseEvent) => any, ctx?: any, ): EventRef; } }