Download src/env.d.ts from algorembrant/computer-auditor: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/algorembrant/computer-auditor/resolve/main/src/env.d.ts
- Command line
-
hf download hf://algorembrant/computer-auditor/src/env.d.ts
-
curl -L -o env.d.ts https://huggingface.co/algorembrant/computer-auditor/resolve/main/src/env.d.ts
1.18 kB
| /// <reference types="vite/client" /> | |
| interface AuditorBridge { | |
| drives: () => Promise<unknown> | |
| listDir: (dirPath: string, opts?: { maxEntries?: number }) => Promise<unknown> | |
| folderSize: (dirPath: string) => Promise<unknown> | |
| largeFiles: (rootPath: string, minBytes: number, maxResults: number) => Promise<unknown> | |
| processes: () => Promise<unknown> | |
| services: () => Promise<unknown> | |
| installed: () => Promise<unknown> | |
| system: () => Promise<unknown> | |
| network: () => Promise<unknown> | |
| env: (keys?: string[]) => Promise<unknown> | |
| startup: () => Promise<unknown> | |
| temp: () => Promise<unknown> | |
| tasks: () => Promise<unknown> | |
| features: () => Promise<string> | |
| openExplorer: (p: string) => Promise<void> | |
| killProcess: (pid: number) => Promise<void> | |
| openExternal: (url: string) => Promise<void> | |
| clipboardWriteText: (text: string) => Promise<void> | |
| notesGetAll: () => Promise<Record<string, string>> | |
| notesSet: (key: string, value: string) => Promise<Record<string, string>> | |
| notesDelete: (key: string) => Promise<Record<string, string>> | |
| } | |
| declare global { | |
| interface Window { | |
| auditor: AuditorBridge | |
| } | |
| } | |
| export {} | |