import { z } from "zod";
import { type RecordCodec } from "./envelope.js";
export declare const HARNESS_OUTCOME_VERSION: "harness-outcome/v1";
export declare const harnessOutcomeSchema: z.ZodObject<{
    id: z.ZodString;
    creationSource: z.ZodObject<{
        runId: z.ZodString;
        component: z.ZodEnum<{
            orchestrator: "orchestrator";
            detector: "detector";
            classifier: "classifier";
            store: "store";
            migration: "migration";
            import: "import";
            manual: "manual";
        }>;
        componentId: z.ZodOptional<z.ZodString>;
    }, z.core.$strict>;
    schemaVersion: z.ZodLiteral<"harness-outcome/v1">;
    status: z.ZodLiteral<"harness-failure">;
    phase: z.ZodEnum<{
        detector: "detector";
        setup: "setup";
        adapter: "adapter";
        infrastructure: "infrastructure";
    }>;
    scope: z.ZodObject<{
        id: z.ZodString;
        detectorId: z.ZodOptional<z.ZodString>;
        surfaceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strict>;
    plannedContext: z.ZodOptional<z.ZodType<import("./context.js").ExecutionContext, unknown, z.core.$ZodTypeInternals<import("./context.js").ExecutionContext, unknown>>>;
    cause: z.ZodObject<{
        code: z.ZodString;
        message: z.ZodString;
        retryable: z.ZodBoolean;
    }, z.core.$strict>;
    artifactRefs: z.ZodArray<z.ZodObject<{
        relativePath: z.ZodString;
        mediaType: z.ZodString;
        contentHash: z.ZodString;
        redactionState: z.ZodEnum<{
            none: "none";
            partial: "partial";
            full: "full";
        }>;
        dimensions: z.ZodOptional<z.ZodObject<{
            width: z.ZodNumber;
            height: z.ZodNumber;
        }, z.core.$strict>>;
        sourceRunId: z.ZodString;
    }, z.core.$strict>>;
    runId: z.ZodString;
}, z.core.$strict>;
export type HarnessOutcome = z.infer<typeof harnessOutcomeSchema>;
export declare const harnessOutcomeCodec: RecordCodec<HarnessOutcome>;
//# sourceMappingURL=harness.d.ts.map