import type { ToolResult } from '../../../core/types.js';
import type { AutonomyEvaluation, AutonomyPostflightAudit } from './types.js';
/**
 * Builds post-execution audit records for unattended autopilot tool calls.
 *
 * This service owns the autonomy-domain interpretation of observed tool output.
 * It does not execute tools and it does not make host/UI decisions.
 */
export declare class AutonomyPostflightAuditService {
    static shouldAudit(evaluation: AutonomyEvaluation | undefined): evaluation is AutonomyEvaluation;
    static create(args: {
        evaluation: AutonomyEvaluation;
        result: ToolResult;
        workspaceRoot?: string;
    }): AutonomyPostflightAudit;
    private static extractChangedPaths;
    private static resolveChangedRoots;
    private static resolveExceededDeclaredRoots;
    private static findContainingRoot;
    private static isInsideRoot;
    private static detectGitHistoryChange;
    private static formatReason;
    private static stringValue;
    private static stringArray;
}
//# sourceMappingURL=postflight-audit-service.d.ts.map