/** * @license * Copyright 2026 Qwen * SPDX-License-Identifier: Apache-2.0 */ import type { PeerSessionReport } from '../adaptor/types.js'; import type { SessionReport } from '../subagents/types.js'; /** Display-only ledger. It owns no jobs, permissions or execution state. */ export declare class SessionReports { private readonly changed; private readonly records; private readonly seen; private readonly fallbackSources; private seq; revision: number; omitted: number; constructor(changed: (report?: SessionReport) => void); clear(): void; add(backend: string, report: PeerSessionReport, session?: string): SessionReport | undefined; get(id: string): SessionReport | undefined; reject(id: string): void; update(id: string, announcement: SessionReport['announcement'], note?: string): void; end(): void; page(): SessionReport[]; /** Host-only projection; tools retain the original source and note structure. */ displayPage(): SessionReport[]; private publish; }