import { Writable } from 'stream'; export type Callback = (lines: string[]) => void; interface BatchOptions { maxLines?: number; maxWait?: number; } export default function addLines(fn: Callback, options?: BatchOptions): Writable; export {};