/**
 * Remediation runner — PR-5a-1
 *
 * Reads pack.remediations[], routes each entry to the correct handler
 * by kind, and returns RemediationResult[] for dry-run preview or live apply.
 *
 * Handler dispatch:
 *   config-patch   → handlers/config-patch.ts (applyConfigPatch / writeConfigPatch)
 *   doc-insert     → handlers/doc-insert.ts   (applyDocInsert / writeDocInsert)
 *   wrapper-import → handlers/wrapper-import.ts (applyWrapperImport / writeWrapperImport)
 *   codemod        → handlers/codemod.ts STUB  (returns 'skipped' — real impl in PR-5a-2)
 *
 * @connexum/ai-governance PR-5a-1
 */
import { PackRemediation, RemediationResult } from './types';
export interface RunRemediationsOptions {
    /** Absolute path to the agent's root directory */
    agentDir: string;
    /** Pack metadata used for result attribution and audit events */
    packId: string;
    packVersion: string;
    /**
     * The remediations to apply, sourced from pack.remediations[].
     * Caller filters to only the remediations whose finding codes match
     * the current scan findings.
     */
    remediations: PackRemediation[];
    /**
     * dry-run (default): compute diffs but do NOT write files.
     * apply: write files to disk.
     */
    mode: 'dry-run' | 'apply';
}
/**
 * Execute a list of remediations.
 *
 * In dry-run mode, all handlers return diffs without writing.
 * In apply mode, handlers write to disk and return the applied diffs.
 *
 * PR-5a-2: now async to support the codemod handler (vm sandbox is async).
 */
export declare function runRemediations(options: RunRemediationsOptions): Promise<RemediationResult[]>;
//# sourceMappingURL=run-remediations.d.ts.map