import { Streamable } from '../models/streamable';
/**
 * This supports commads streaming their output to the console
 *
 * @see repl.ts for use of createOutputStream
 * @see cli.ts for the webapp implementation
 *
 */
export declare const streamTo: (which: 'stdout' | 'stderr') => Promise<(response: Streamable, killLine?: boolean) => Promise<void>>;
