import { type WriteStream } from "../types/io.js"; /** * Interface definition for LogUpdate function and its methods. */ export interface LogUpdate { /** * Clears the output. */ clear: () => void; /** * Persists the output and finishes the logging session. */ done: () => void; /** * Updates the output synchronously. * * @param str - The string to log. */ sync: (str: string) => void; /** * Updates the output. * * @param str - The string to log. */ (str: string): void; } export declare const logUpdate: { create: (stream: WriteStream, { showCursor, incremental }?: { showCursor?: boolean | undefined; incremental?: boolean | undefined; }) => LogUpdate; };