UNPKG

alwaysai

Version:

The alwaysAI command-line interface (CLI)

10 lines 557 B
/// <reference types="node" /> import type { ReadableStream as NodeWebReadableStream } from 'node:stream/web'; import { Readable } from 'node:stream'; export declare function throwIfNotOk(response: Response): Promise<void>; export declare function fetchWithTimeout(url: string, options?: {}, timeout?: number): Promise<Response & { body: NodeWebReadableStream; }>; export declare function downloadJson(url: string): Promise<any>; export declare function fetchFilestream(url: string, options?: any): Promise<Readable>; //# sourceMappingURL=fetch.d.ts.map