import { type EntropyTraceWindow } from "./meter.js"; import type { EntropyAuditCall, EntropyReport, EntropySurfaceSnapshot, EntropyTraceInput, EntropyTrend, EntropyValueObservation } from "./types.js"; export interface SessionCorpusEntry { file: string; operations: number; report: EntropyReport; } export interface SessionModelTrend { model: string; sessions: number; latestBehavioralScore: number; slopePerSession: number; latestRejectionsPer1k: number; } export interface SessionCorpusResult { files: readonly string[]; sessions: SessionCorpusEntry[]; latest?: EntropyReport; trend: EntropyTrend; models: SessionModelTrend[]; } export declare const projectSessionFiles: (agentDir: string, cwd: string, limit?: number) => string[]; export declare const machineSessionFiles: (agentDir: string, cwd: string | undefined, limit?: number) => string[]; export declare const projectSessionFilesAsync: (agentDir: string, cwd: string, limit?: number) => Promise; export declare const machineSessionFilesAsync: (agentDir: string, cwd: string | undefined, limit?: number) => Promise; export declare const measureSessionCorpus: (input: { files: readonly string[]; surface?: EntropySurfaceSnapshot; catalogDigest?: string; }) => SessionCorpusResult; /** Background-only discovery cadence; explicit inspection continues to scan immediately. */ export declare class BackgroundSessionSelector { #private; readonly scan: (agentDir: string, cwd: string | undefined, limit?: number) => Promise; constructor(scan?: (agentDir: string, cwd: string | undefined, limit?: number) => Promise); select(agentDir: string, cwd: string | undefined, currentFile?: string): Promise; } export interface SessionObservationWindow { file: string; observations: EntropyValueObservation[]; } export interface SessionWindowEvidence { traceWindows: EntropyTraceWindow[]; traces: EntropyTraceInput[]; valueObservations: EntropyValueObservation[]; auditCalls: EntropyAuditCall[]; observationWindows: SessionObservationWindow[]; } export declare const sessionWindowEvidenceAsync: (files: readonly string[], options?: { windowsOnly?: boolean; }) => Promise; export declare const measureSessionCorpusAsync: (input: { files: readonly string[]; surface?: EntropySurfaceSnapshot; catalogDigest?: string; }) => Promise; export declare const sessionWindowEvidence: (files: readonly string[]) => SessionWindowEvidence; //# sourceMappingURL=sessions.d.ts.map