import type { RenderContext, TemplateResult } from '../ui/types.js';
/**
 * Options for build/apply output. These are the only commands that use
 * the results table with summary.
 */
export interface BatchOutputOptions {
    results: TemplateResult[];
    context: RenderContext & {
        command: 'build' | 'apply';
    };
}
/**
 * Output results in either JSON or human-readable format.
 * Branches based on context.json flag.
 *
 * - JSON: Uses writeJson() for clean output (no extra newlines)
 * - Human: Delegates to existing renderResultsTable
 *
 * Note: This function is specifically for build/apply commands.
 * Other commands use their own output mechanisms.
 */
export declare function output(options: BatchOutputOptions): void;
