/** Proxies a `stdout`-like stream to provide current-column tracking. */ export declare class OutputProxy { private outputStream; currentLineLength: number; /** * Creates a new proxy that tracks the current column of the provided stream. * @param outputStream the stream to proxy writes to */ constructor(outputStream: NodeJS.WriteStream); /** * Writes a string's worth of data to the proxied stream and updates the current output column. * @param str the string to write to the proxied stream */ write(str: string): void; /** * Calculates and returns the column that the next written character will * be placed in. If the proxied stream is a TTY, the current position will * be in the range `[0, proxiedStream.columns)`. * * @returns the zero-indexed position at which the next written character * will be placed in the proxied output stream. */ position(): number; }