import type { DoctorMemoryRepairPreviewPayload } from "./inventory.js";
import { type DoctorMemoryRepairExecutionAuditPlanRecord } from "./repair-audit-plan.js";
import { type DoctorMemoryRepairExecutionConfirmation, type DoctorMemoryRepairExecutionPlan, type DoctorMemoryRepairExecutionPolicyDecision, type DoctorMemoryRepairExecutionScope, type DoctorMemoryRepairExecutionSurface } from "./repair-execution-policy.js";
export declare const DOCTOR_MEMORY_REPAIR_EXECUTION_METHOD = "doctor.memory.repair.execute";
export type DoctorMemoryRepairExecutionRequestSchemaVersion = 1;
export type DoctorMemoryRepairExecutionRequest = {
    schemaVersion: DoctorMemoryRepairExecutionRequestSchemaVersion;
    kind: "doctor.memory.repair.execution.request";
    method: typeof DOCTOR_MEMORY_REPAIR_EXECUTION_METHOD;
    dryRun: true;
    executionId: string;
    createdAt: string;
    preview: DoctorMemoryRepairPreviewPayload;
    proposalIds: string[];
    acceptedPreviewFingerprint: string;
    surface: DoctorMemoryRepairExecutionSurface;
    operatorScope: DoctorMemoryRepairExecutionScope;
    confirmation: DoctorMemoryRepairExecutionConfirmation;
    plan: DoctorMemoryRepairExecutionPlan;
    allowedRoots: string[];
    backupRoot: string;
    auditRoot: string;
};
export type DoctorMemoryRepairExecutionResponseStage = "request" | "policy" | "audit-plan" | "admitted";
export type DoctorMemoryRepairExecutionResponse = {
    schemaVersion: DoctorMemoryRepairExecutionRequestSchemaVersion;
    kind: "doctor.memory.repair.execution.response";
    method: typeof DOCTOR_MEMORY_REPAIR_EXECUTION_METHOD;
    dryRun: true;
    noWritePerformed: true;
    executionId: string;
    createdAt: string;
    agentId: string;
    status: "admitted" | "denied";
    stage: DoctorMemoryRepairExecutionResponseStage;
    previewFingerprint: string;
    selectedProposalIds: string[];
    reasons: string[];
    policy?: DoctorMemoryRepairExecutionPolicyDecision;
    auditPlan?: DoctorMemoryRepairExecutionAuditPlanRecord;
    auditPlanFingerprint?: string;
};
export declare function evaluateMemoryRepairExecutionRequest(request: DoctorMemoryRepairExecutionRequest): DoctorMemoryRepairExecutionResponse;
