import type { DoctorMemoryRepairExecutionConfirmation, DoctorMemoryRepairExecutionScope } from "./repair-execution-policy.js";
import type { DoctorMemoryRepairExecutionResponse } from "./repair-execution-request-contract.js";
export type DoctorMemoryRepairExecutorGate = {
    enabled: boolean;
    writeExecutorRegistered: boolean;
    gatewayHandlerRegistered: boolean;
    cliCommandRegistered: boolean;
    dashboardActionRegistered: boolean;
    allowWrites: boolean;
};
export type DoctorMemoryRepairExecutorGateInput = {
    response: DoctorMemoryRepairExecutionResponse;
    gate: DoctorMemoryRepairExecutorGate;
    operatorScope: DoctorMemoryRepairExecutionScope;
    confirmation: DoctorMemoryRepairExecutionConfirmation;
    acceptedAuditPlanFingerprint?: string;
};
export type DoctorMemoryRepairExecutorGateDecision = {
    ok: boolean;
    kind: "doctor.memory.repair.executor.gate";
    executionId: string;
    agentId: string;
    noWritePerformed: true;
    selectedProposalIds: string[];
    reasons: string[];
};
export declare function evaluateMemoryRepairExecutorGate(input: DoctorMemoryRepairExecutorGateInput): DoctorMemoryRepairExecutorGateDecision;
