/**
 * OwlCoda Native Display Formatter
 *
 * Delegates to the TUI engine (src/native/tui/) for all rendering.
 * This module preserves the legacy API surface for backward compatibility.
 */
/** ANSI color helpers — thin wrapper over TUI sgr. */
export declare const ansi: {
    readonly reset: "\u001B[0m";
    readonly bold: "\u001B[1m";
    readonly dim: "\u001B[2m";
    readonly italic: "\u001B[3m";
    readonly red: "\u001B[31m";
    readonly green: "\u001B[32m";
    readonly yellow: "\u001B[33m";
    readonly blue: "\u001B[34m";
    readonly magenta: "\u001B[35m";
    readonly cyan: "\u001B[36m";
    readonly gray: "\u001B[90m";
};
/** Format a tool start message. */
export declare function formatToolStart(name: string, input: Record<string, unknown>): string;
/** Format a tool end message. */
export declare function formatToolEnd(name: string, result: string, isError: boolean, durationMs: number): string;
/** Format an error message. */
export declare function formatError(error: string): string;
/** Format iteration count. */
export declare function formatIterations(count: number): string;
/** Truncate long tool output for display. */
export declare function truncateOutput(text: string, maxLines?: number): string;
export interface BannerOptions {
    version: string;
    model: string;
    mode: string;
    sessionId: string;
    cwd: string;
    columns?: number;
    recentSessions?: {
        id: string;
        title?: string;
        turns: number;
        date: string;
    }[];
    /** Override tips shown in the right column. */
    tips?: string[];
    /** Optional welcome animation frame hint. */
    logoFrame?: import('./tui/welcome.js').LogoFrame;
    /** True on first launch — no prior sessions. Switches greeting copy. */
    isFirstRun?: boolean;
}
/** Render a box-drawn welcome banner using the TUI engine. */
export declare function formatBanner(opts: BannerOptions): string;
/** Format token usage line (shown after each response). */
export declare function formatUsage(inputTokens: number, outputTokens: number): string;
/** Format stop reason (shown after truncated/unusual stops). */
export declare function formatStopReason(reason: string | null): string;
/**
 * Spinner for indicating activity.
 * Now backed by the TUI engine's enhanced spinner.
 */
export declare class Spinner {
    private inner;
    start(message?: string): void;
    stop(clearLine?: boolean): void;
}
