/**
 * Reasoning Trace Engine — trace store, evidence summaries, privacy redaction.
 *
 * Implements the RTE from OMK CLI V2 Runtime Architecture:
 * - Structured trace capture (NOT raw CoT)
 * - Evidence summaries for user-facing display
 * - Privacy-aware redaction for dataset export
 * - Consent-level based filtering
 */
import type { ReasoningTrace, ReasoningTraceStore, TraceStoreOptions, TraceSummary, ConsentAwareNlgInput, ConsentAwareNlgOutput, TraceResult, TracePrivacy, TraceToolCall, TraceDecision } from "./contracts/reasoning-trace.js";
import type { RequestIntent } from "./debloat-nlp.js";
export declare function createReasoningTrace(input: {
    turnId: string;
    userRequest: string;
    intent: RequestIntent;
    risk: string;
    confidence: number;
    planSummary: string;
    planSteps: readonly string[];
    toolsSelected: readonly string[];
    mcpSelected: readonly string[];
    skillsSelected: readonly string[];
    toolSequence: readonly TraceToolCall[];
    decisionRecords: readonly TraceDecision[];
    durationMs: number;
    retries?: number;
    testResult?: ReasoningTrace["evidence"]["testResult"];
    diffSummary?: string;
    filesChanged?: readonly string[];
    commandsRun?: readonly string[];
    status: TraceResult["status"];
    resultSummary: string;
    failureReason?: string;
    acceptReject: TraceResult["acceptReject"];
    resultConfidence: number;
    privacyLevel: TracePrivacy["level"];
    consentGiven?: boolean;
}): ReasoningTrace;
export declare function redactText(text: string, level: TracePrivacy["level"]): {
    text: string;
    applied: readonly string[];
};
export declare function redactTrace(trace: ReasoningTrace): ReasoningTrace;
export declare function summarizeTrace(trace: ReasoningTrace): TraceSummary;
export declare function generateConsentReport(input: ConsentAwareNlgInput): ConsentAwareNlgOutput;
export declare function createReasoningTraceStore(options?: TraceStoreOptions): ReasoningTraceStore;
