/**
 * Runtime Event Renderer (W3.1-support of F-NEW-PRODUCT-AGENT-VISIBILITY-CLUSTER-2026-05-12).
 *
 * Pure helpers that normalise heterogeneous governance events (live
 * PackEvaluator verdicts, OverrideEvents from W1.9, info/action-separation
 * verdicts from W1.6, pack-version transitions from W1.4, ReplayEvents
 * from W4.2 sandbox replay) into a single TimelineRow shape suitable for
 * rendering in the runtime live-view single-vertical timeline.
 *
 * Browser-side safe — no node-builtin imports, no framework dependencies.
 * The React UI layer (W3.1) consumes the TimelineRow shape directly.
 *
 * @connexum/ai-governance  F-NEW-PRODUCT-RUNTIME-LIVE-VIEW (renderer support)
 */
import type { ReplayEvent } from './sandbox-replay.js';
import type { OverrideEvent } from './pack-inheritance.js';
import type { PackVersionEvent } from './pack-versioning.js';
import type { InfoActionVerdict } from './info-action-separation.js';
export type RowKind = 'tool-call' | 'authority' | 'verdict-allow' | 'verdict-deny' | 'verdict-pending' | 'approval-granted' | 'approval-denied' | 'state-change' | 'audit' | 'trust-delta' | 'override' | 'pack-version-change';
export type RowTone = 'info' | 'notice' | 'warn' | 'error' | 'critical';
export interface TimelineRow {
    /** ISO 8601 timestamp the event occurred. */
    at: string;
    /** Relative offset in ms from the start of the run (if known). */
    tMs?: number;
    kind: RowKind;
    tone: RowTone;
    /** One-line headline for the row. */
    headline: string;
    /** Optional expandable detail body. */
    detail?: string;
    /** Pack ID that produced this row, if any. */
    packId?: string;
    /** Check / classifier ID, if any. */
    checkId?: string;
    /** Tool name, when relevant. */
    toolName?: string;
    /** Approver / actor for human-driven events. */
    actor?: string;
    /** Severity badge value for the UI. */
    severityLabel: 'INFO' | 'NOTICE' | 'WARN' | 'ERROR' | 'CRITICAL';
}
export declare function fromReplayEvent(ev: ReplayEvent, runStartIso: string): TimelineRow;
export declare function fromOverrideEvent(ev: OverrideEvent): TimelineRow;
export declare function fromPackVersionEvent(ev: PackVersionEvent): TimelineRow;
export declare function fromInfoActionVerdict(v: InfoActionVerdict, ctx: {
    at: string;
    toolName?: string;
    tMs?: number;
}): TimelineRow;
/** Sort rows in ascending time order (stable). */
export declare function sortTimelineRows(rows: TimelineRow[]): TimelineRow[];
/** Filter rows by tone (e.g. show only WARN+CRITICAL on a triage view). */
export declare function filterByMinTone(rows: TimelineRow[], minTone: RowTone): TimelineRow[];
//# sourceMappingURL=runtime-event-renderer.d.ts.map