import type { DoctorMemoryRepairDashboardBadge, DoctorMemoryRepairDashboardSeverity } from "./repair-dashboard-preview-contract.js";
import type { DoctorMemoryRepairPreflightPipelineDecision, DoctorMemoryRepairPreflightPipelineStage } from "./repair-preflight-pipeline-contract.js";
export type DoctorMemoryRepairPreflightDashboardStageStatus = "passed" | "denied" | "not-run";
export type DoctorMemoryRepairPreflightDashboardStageRow = {
    stage: DoctorMemoryRepairPreflightPipelineStage;
    status: DoctorMemoryRepairPreflightDashboardStageStatus;
    tone: DoctorMemoryRepairDashboardSeverity;
    detail: string;
};
export type DoctorMemoryRepairPreflightDashboardPreview = {
    kind: "doctor.memory.repair.preflight.dashboard-preview";
    status: DoctorMemoryRepairPreflightPipelineDecision["status"];
    stage: DoctorMemoryRepairPreflightPipelineStage;
    title: string;
    summary: string;
    severity: DoctorMemoryRepairDashboardSeverity;
    badges: DoctorMemoryRepairDashboardBadge[];
    request: {
        agentId: string;
        executionId: string;
        createdAt: string;
        selectedProposalIds: string[];
        noWritePerformed: true;
        contractOnly: true;
    };
    stages: DoctorMemoryRepairPreflightDashboardStageRow[];
    reasons: string[];
    result?: {
        status: string;
        writeState: string;
        selected: number;
        backupSucceeded: number;
        writeSucceeded: number;
        failed: number;
        rollbackStatus: string;
    };
    actions: [];
    boundary: {
        dryRunOnly: true;
        noExecutorRegistered: true;
        noGatewayHandler: true;
        noDashboardAction: true;
        noFileProbe: true;
        noLockWrite: true;
        noWritePerformed: true;
        transcriptAccess: "none";
        bodyAccess: "none";
    };
};
export declare function createMemoryRepairPreflightDashboardPreview(decision: DoctorMemoryRepairPreflightPipelineDecision): DoctorMemoryRepairPreflightDashboardPreview;
