/**
 * T203: Immutable lineage event contract (append-only store, correlation fields).
 * @see .workspace-kit/tasks/state.json T192, T203
 */
export declare const LINEAGE_SCHEMA_VERSION: 1;
export type LineageEventType = "rec" | "dec" | "app" | "corr";
/** Recommendation enqueued (Task Engine improvement task created). */
export type LineageRecPayload = {
    recommendationTaskId: string;
    evidenceKey: string;
    title: string;
    /** Improvement intake: concrete issue statement (mirrors task metadata.issue when present). */
    issue?: string;
    /** Improvement intake: primary recommended fix (mirrors task metadata.proposedSolutions[0] when present). */
    proposedSolution?: string;
    confidence: number;
    confidenceTier: string;
    provenanceRefs: Record<string, string>;
};
/** Human approval decision recorded (before or alongside task transition). */
export type LineageDecPayload = {
    recommendationTaskId: string;
    evidenceKey: string;
    decisionVerb: "accept" | "decline" | "accept_edited";
    actor: string;
    decisionFingerprint: string;
    policyTraceRef?: {
        operationId: string;
        timestamp: string;
    };
    /** Optional link to a config mutation evidence row when the reviewer supplies it. */
    configMutationRef?: {
        timestamp: string;
        key: string;
    };
};
/** Applied change marker (task reached completed via acceptance). */
export type LineageAppPayload = {
    recommendationTaskId: string;
    evidenceKey: string;
    decisionFingerprint: string;
    finalTaskStatus: "completed";
};
/** Optional correlation enrichment (trace linkage). */
export type LineageCorrPayload = {
    recommendationTaskId: string;
    evidenceKey: string;
    policySchemaVersion?: number;
    policyOperationId?: string;
    policyTimestamp?: string;
    mutationRecordTimestamp?: string;
    mutationKey?: string;
};
export type LineageEvent = {
    schemaVersion: typeof LINEAGE_SCHEMA_VERSION;
    eventId: string;
    eventType: LineageEventType;
    timestamp: string;
    correlationRoot: string;
    payload: LineageRecPayload | LineageDecPayload | LineageAppPayload | LineageCorrPayload;
};
/** Stable correlation root: ties chain to recommendation + evidence identity. */
export declare function lineageCorrelationRoot(recommendationTaskId: string, evidenceKey: string): string;
