import type { Analysis, Timeline } from './timeline-types.js'; export declare const EVENT_WEIGHTS: Readonly>; export declare const DEFAULT_EVENT_WEIGHT = 0.5; export declare const FORCED_EVENT_TYPES: readonly string[]; export declare function eventWeight(type: string): number; export interface SelectedWindow { startFrame: number; endFrame: number; score: number; forced: boolean; events: string[]; } /** * Deterministic window selection over a timeline. Pure — no filesystem or * ffmpeg — so it is unit-testable on synthetic timelines. */ export declare function selectWindows(timeline: Timeline, windowSec: number, top: number): SelectedWindow[]; /** * Score the timeline and write `analysis.json` + `sheets/` into `outDir` (default: the recording * dir itself, the web-lane layout; the CLI lane points it at the trailer work dir so recordings * stay pristine). Sheet paths inside analysis.json are relative to `outDir`. */ export declare function runAnalyze(recordingDir: string, windowSec: number, top: number, outDir?: string): Promise;