import { type Writable } from 'node:stream';
import { type StyledChar } from '@alcalzone/ansi-tokenize';
export type LogUpdate = {
    clear: () => void;
    done: () => void;
    sync: (str: string) => void;
    (str: string, styledOutput: StyledChar[][], debugRainbowColor?: string): void;
};
declare const logUpdate: {
    create: (stream: Writable, { showCursor, alternateBuffer, alternateBufferAlreadyActive, incremental, getRows, getColumns, }?: {
        showCursor?: boolean;
        alternateBuffer?: boolean;
        alternateBufferAlreadyActive?: boolean;
        incremental?: boolean;
        getRows?: () => number;
        getColumns?: () => number;
    }) => LogUpdate;
};
export default logUpdate;
