/**
 * Output formatting for CLI commands.
 * Supports --json for machine-readable output and table/list for humans.
 */
export interface OutputOptions {
    json?: boolean;
}
export declare function setGlobalJson(json: boolean): void;
/** Print data as JSON or formatted table */
export declare function table(rows: Record<string, unknown>[], columns: {
    key: string;
    header: string;
    width?: number;
}[], opts?: OutputOptions & {
    title?: string;
}): void;
/** Print single object as JSON or key-value pairs */
export declare function detail(data: Record<string, unknown>, opts?: OutputOptions & {
    title?: string;
}): void;
/** Print JSON or simple success message */
export declare function success(message: string, data?: unknown, opts?: OutputOptions): void;
/** Print error and exit */
export declare function fail(message: string, exitCode?: number): never;
/** Extract array rows from API responses that wrap data under varying keys */
export declare function extractRows(data: unknown): Record<string, unknown>[];
/** Print raw JSON or formatted list */
export declare function list(items: string[], opts?: OutputOptions & {
    title?: string;
}): void;
//# sourceMappingURL=output.d.ts.map