Files
desktop/lib/preload/index.d.ts
2026-03-20 16:46:23 +02:00

21 lines
440 B
TypeScript

import { ElectronAPI } from '@electron-toolkit/preload'
import type api from './api'
declare global {
interface Window {
electron: ElectronAPI
api: typeof api,
version: string,
platform: string,
appPath: string,
arch: string,
shell: Electron.Shell;
downloadsPath: string;
deviceName: string;
deviceId: string;
mediaApi: {
getSoundUrl: (fileName: string) => Promise<string>;
};
}
}