/**
 * Next.js framework audit meta-tool (T11).
 *
 * Dispatches to all 9 sub-tools (component classifier, route map, metadata
 * audit, security audit, API contract, boundary analyzer, link integrity,
 * data flow, middleware coverage), aggregates results into a weighted
 * overall score, and returns a unified `FrameworkAuditResult`.
 */
export type AuditDimension = "components" | "routes" | "metadata" | "security" | "api_contract" | "boundary" | "links" | "data_flow" | "middleware_coverage";
export interface DimensionScore {
    score: number;
    weight: number;
    contribution: number;
}
export interface AuditSummary {
    overall_score: number;
    grade: "poor" | "needs_work" | "good" | "excellent";
    dimensions: Partial<Record<AuditDimension, DimensionScore>>;
    top_issues: string[];
}
export interface FrameworkAuditResult {
    summary: AuditSummary;
    sub_results: Partial<Record<AuditDimension, unknown>>;
    tool_errors: Array<{
        tool: string;
        error: string;
    }>;
    cache_size: number;
    duration_ms: number;
}
export interface PrioritizedFinding {
    severity: "high" | "medium" | "low";
    tool: AuditDimension;
    file: string;
    line?: number | undefined;
    issue: string;
    suggested_fix?: string | undefined;
    weight: number;
}
export interface PrioritizedAudit {
    mode: "priority";
    findings: PrioritizedFinding[];
    total_findings: number;
    tools_run: AuditDimension[];
    duration_ms: number;
}
export interface FrameworkAuditOptions {
    workspace?: string | undefined;
    tools?: AuditDimension[] | undefined;
    mode?: "full" | "priority" | undefined;
    priority_limit?: number | undefined;
    /** Minimum severity to include in priority mode. Default: "low" (all). */
    min_severity?: "low" | "medium" | "high" | undefined;
    /** Glob pattern to filter findings by file path (e.g. "app/admin/**"). */
    path_glob?: string | undefined;
}
export declare function aggregateScores(sub_results: Partial<Record<AuditDimension, unknown>>): AuditSummary;
export declare function extractPriorityFindings(sub_results: Partial<Record<AuditDimension, unknown>>): PrioritizedFinding[];
export declare function frameworkAudit(repo: string, options?: FrameworkAuditOptions): Promise<FrameworkAuditResult | PrioritizedAudit>;
//# sourceMappingURL=nextjs-framework-audit-tools.d.ts.map