/** Adapter-only readers for optional Harness session-organization services. */ export interface SessionStatsProjection { readonly turns: number; readonly steps: number; readonly llmMs: number; readonly toolMs: number; readonly ttftMs: number; readonly ttftSteps: number; readonly decodeMs: number; readonly decodeTokens: number; } export type SessionStatsResult = { readonly kind: 'available'; readonly stats: SessionStatsProjection; } | { readonly kind: 'unavailable'; }; /** Structural face of the optional Harness session-projection registry. */ export interface SessionProjectionReader { snapshot(session: unknown): unknown; } /** Validate the wire value instead of trusting a possibly drifted host. */ export declare function sessionStatsFromSnapshot(snapshot: unknown): SessionStatsResult; /** Read one live Session through the official projection registry. */ export declare function readSessionStats(projections: SessionProjectionReader | undefined, session: unknown): SessionStatsResult; /** Bounded row identifiers from a preset's Cordis composition document. */ export declare function presetCompositionRows(content: string, limit?: number): { readonly rows: readonly string[]; readonly truncated: boolean; }; //# sourceMappingURL=session-organization.d.ts.map