Files
profilarr/src/deno.d.ts
Sam Chau e24410f6f3 stack(arrConfig): implemented arr config handling
- database module + migrations handler
- http client class + arr client child (with connection pooling, retries, backoff)
- toast alerts
- add new arr configs
2025-10-20 02:13:09 +10:30

41 lines
866 B
TypeScript

/**
* Deno global type declarations for SvelteKit project
*/
/** App version injected at build time */
declare const __APP_VERSION__: string;
declare namespace Deno {
export const env: {
get(key: string): string | undefined;
};
export function mkdir(path: string, options?: { recursive?: boolean }): Promise<void>;
export function writeTextFile(
path: string,
data: string,
options?: { append?: boolean }
): Promise<void>;
export interface HttpClient {
close(): void;
}
export interface CreateHttpClientOptions {
poolMaxIdlePerHost?: number;
poolIdleTimeout?: number;
}
export function createHttpClient(options?: CreateHttpClientOptions): HttpClient;
export interface DirEntry {
name: string;
isFile: boolean;
isDirectory: boolean;
isSymlink: boolean;
}
export function readDir(path: string): AsyncIterable<DirEntry>;
}