/**
 * coverage-audit.ts
 *
 * Pure computation functions for cross-referencing the product feature registry
 * (config/features) against actual task files (tasks/*.yaml)
 * to produce a documentation coverage audit.
 *
 * Phase 3c of the Scenario Matrix implementation.
 *
 * @see docs/archive/exec-plans/scenario-matrix-implementation/phase-3-gap-analysis.md
 */
import type { Logger, PluginRegistry } from "../_vendor/ailf-core/index.d.ts";
import type { CoverageAuditReport, ProductFeature } from "./types.js";
/**
 * Count unique document slugs referenced across all tasks.
 */
export declare function countReferencedDocs(rootDir: string): {
    slugs: string[];
    total: number;
};
/**
 * Count actual tasks per area from task YAML files.
 */
export declare function countTasksByArea(rootDir: string): Record<string, number>;
/**
 * Format coverage audit for console output.
 */
export declare function formatCoverageConsole(report: CoverageAuditReport): string;
/**
 * Format coverage audit as markdown.
 */
export declare function formatCoverageMarkdown(report: CoverageAuditReport): string;
/**
 * Load and validate the feature registry.
 *
 * Resolution order:
 *   1. config/features file (user overrides) — if non-empty, wins
 *   2. Registry features (preset-provided) — fallback when config is empty
 *   3. null — no features available
 */
export declare function loadFeatureRegistry(rootDir: string, options?: {
    logger?: Logger;
    registry?: PluginRegistry;
}): null | ProductFeature[];
/**
 * Run the coverage audit and produce a structured report.
 */
export declare function runCoverageAudit(rootDir: string, options?: {
    registry?: PluginRegistry;
}): CoverageAuditReport | null;
