/**
 * Human-in-the-Loop (HITL) warning system.
 *
 * Generates warnings for concurrent operations, orphaned locks,
 * and high-risk operations that may require human review.
 *
 * Warning levels:
 *   INFO  - Informational, no action needed
 *   WARN  - Review recommended
 *   BLOCK - Requires human decision before proceeding
 *
 * @task T4454
 * @epic T4454
 */
/** HITL warning level. */
export type HITLLevel = 'none' | 'info' | 'warn' | 'block';
/** HITL warning entry. */
export interface HITLWarning {
    level: 'INFO' | 'WARN' | 'BLOCK';
    type: string;
    message: string;
    details: unknown;
    action: string;
}
/** Lock info from .cleo/*.lock files. */
interface LockInfo {
    resource: string;
    pid: number;
    process: string;
    status: 'active' | 'stale' | 'orphaned';
    age_seconds: number;
}
/** HITL warnings result. */
export interface HITLWarningsResult {
    enabled: boolean;
    level: HITLLevel;
    requiresHuman: boolean;
    warnings: HITLWarning[];
    activeLocks: LockInfo[];
    summary: {
        total: number;
        byLevel: {
            block: number;
            warn: number;
            info: number;
        };
    } | null;
}
/** Check if HITL warnings are enabled. */
export declare function isHITLEnabled(cwd?: string): boolean;
/** Generate HITL warnings based on lock state. */
export declare function generateHITLWarnings(cwd?: string): HITLWarningsResult;
/** Get highest warning level from warnings. */
export declare function getHighestLevel(warnings: HITLWarning[]): HITLLevel;
/** Get concurrency data for analyze JSON output. */
export declare function getConcurrencyJson(cwd?: string): Record<string, unknown>;
export {};
//# sourceMappingURL=hitl-warnings.d.ts.map