/**
 * SAC output formatting
 */
import type { OutputFormat } from "./types.js";
export interface Spinner {
    start(): void;
    update(text: string): void;
    stop(finalText?: string): void;
}
export declare function createSpinner(label: string): Spinner;
export interface ProgressBar {
    update(current: number): void;
    finish(): void;
}
export declare function createProgressBar(total: number, label?: string): ProgressBar;
export declare function detectOutputFormat(flagValue?: string): OutputFormat;
export declare function formatJson(data: unknown): string;
export declare function formatKeyValue(obj: Record<string, unknown>, indent?: number): string;
export declare function formatText(data: unknown): string;
export declare function formatTable(rows: Record<string, unknown>[]): string;
export declare function formatOutput(data: unknown, format: OutputFormat): string;
//# sourceMappingURL=output.d.ts.map