import type { LintingResult } from '../../domain/LintingResult.js';
import { type FormatOptions } from './textFormatter.js';
/**
 * Aggregate totals across every linted file in a project-wide run.
 */
export interface DirectorySummary {
    files: number;
    errors: number;
    warnings: number;
    infos: number;
}
/**
 * Format the results of linting a whole directory of config files.
 *
 * @remarks
 * Mirrors the single-file {@link formatResult} contract for `--format`:
 * - `text`  — a per-file section (reusing the single-file text renderer)
 *   followed by an aggregate summary line.
 * - `json`  — `{ results: [...per file...], summary: {...totals...} }`.
 * - `sarif` — one SARIF run carrying every file's results (SARIF supports
 *   multiple artifacts natively).
 */
export declare function formatDirectoryResult(results: readonly LintingResult[], format?: string, options?: FormatOptions): string;
/** Sum error/warning/info counts across all files. */
export declare function summarize(results: readonly LintingResult[]): DirectorySummary;
//# sourceMappingURL=directoryFormatter.d.ts.map