UNPKG

alwaysai

Version:

The alwaysAI command-line interface (CLI)

17 lines 637 B
/// <reference types="node" /> import { run } from './run'; import { runForegroundSync } from './run-foreground-sync'; import { runStreaming } from './run-streaming'; import { Cmd } from '../types'; export declare function SpawnerBase(translate: (cmd: Cmd) => Cmd): { run(cmd: Cmd): Promise<string>; runForeground(cmd: Cmd): Promise<void>; runForegroundSync(cmd: Cmd): void; runStreaming(cmd: Cmd): Promise<import("stream").Readable>; }; export declare const spawnerBase: { run: typeof run; runForegroundSync: typeof runForegroundSync; runStreaming: typeof runStreaming; }; //# sourceMappingURL=index.d.ts.map