/**
 * Judgment Distillation Module
 *
 * Real-time LLM-based distillation of human input into Judgment principles.
 *
 * Flow:
 * Human Input → Trigger Detection → LLM Extraction → Judgment
 *                    ↓
 *            Confidence + Evidence
 */
import { Judgment, DistillationTrigger, DistillationRequest } from './index.js';
export interface DistillationResult {
    success: boolean;
    judgment?: Judgment;
    error?: string;
    trigger: DistillationTrigger;
}
export interface FeedbackSignal {
    judgmentId: string;
    type: 'approve' | 'reject' | 'correct';
    correction?: {
        original: string;
        corrected: string;
        reason?: string;
    };
}
export interface TrajectoryEntry {
    timestamp: string;
    action: string;
    outcome: string;
    approved: boolean;
}
/**
 * Initialize the distillation system
 */
export declare function initializeDistillation(): Promise<void>;
/**
 * Detect trigger type from human input
 */
export declare function detectTrigger(input: string): DistillationTrigger | null;
/**
 * Check if input indicates a judgment correction
 */
export declare function detectCorrection(input: string): {
    original: string;
    corrected: string;
} | null;
/**
 * Add to trajectory buffer
 */
export declare function addToTrajectory(agentId: string, action: string, outcome: string, approved: boolean): void;
/**
 * Detect trajectory pattern (repeated similar actions)
 */
export declare function detectTrajectoryPattern(agentId: string): TrajectoryEntry[] | null;
/**
 * Distill human input to judgment using LLM
 */
export declare function distillInput(request: DistillationRequest): Promise<DistillationResult>;
/**
 * Process feedback signal
 */
export declare function processFeedback(signal: FeedbackSignal): Promise<void>;
/**
 * Check if human input contains judgment signal
 */
export declare function isJudgmentSignal(input: string): boolean;
/**
 * Get trajectory buffer statistics
 */
export declare function getTrajectoryStats(): Record<string, {
    count: number;
    approvalRate: number;
}>;
/**
 * Clear trajectory buffer for agent
 */
export declare function clearTrajectory(agentId?: string): void;
