import { type SlashRegistryView } from '../input-highlight.js'; import type { IHistoryRing } from './types.js'; import type { ReaderState } from './reader.state.js'; export interface RepaintCtx { stdout: NodeJS.WriteStream; promptText: string; promptVisibleLen: number; slashRegistryView: SlashRegistryView; historyGetEntries?: IHistoryRing['getEntries']; } export declare function repaint(st: ReaderState, ctx: RepaintCtx): void; export declare function schedulePaint(st: ReaderState, ctx: RepaintCtx): void;