import { IObservable } from "../../../../base/common/observable.js"; import { IInboxNotificationItem, IInboxSessionRow, InboxNotificationsSortMode, IInboxDetailSummary, IExternalInboxNotification, IInboxInteractionTelemetryContext } from "@codingame/monaco-vscode-workbench-service-override/vscode/vs/sessions/contrib/inboxOne/common/inboxNotificationsService"; export declare const IInboxNotificationsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IInboxNotificationsService { readonly _serviceBrand: undefined; readonly notifications: IObservable; readonly sessionRows: IObservable; setSessionOnHold(row: IInboxSessionRow, onHold: boolean): void; markSessionDone(row: IInboxSessionRow): void; readonly dismissedNotifications: IObservable; readonly sortMode: IObservable; readonly isLoading: IObservable; /** * Map from {@link IInboxNotificationItem.previewSignature} to a short, model-generated * one-line preview describing the item's latest state. Populated asynchronously as * items land; an entry is absent until its preview has been generated. */ readonly previews: IObservable>; /** * Map from a completed item's id to its structured, model-generated evidence pack. * Generation is focus-triggered via {@link requestDetailSummary}; an entry is absent * until it has been generated. */ readonly detailSummaries: IObservable>; publishExternalNotification(notification: IExternalInboxNotification): void; removeExternalNotification(id: string): void; dismissNotification(id: string, snapshot?: IInboxNotificationItem): void; setSortMode(sortMode: InboxNotificationsSortMode): void; /** * Trigger (once, then cached) generation of the one-line preview for an item. Called by the * view as cards become visible so hidden items don't fan out utility-model traffic. */ requestPreview(item: IInboxNotificationItem): void; /** * Trigger (once, then cached) generation of the structured evidence pack for a completed * item. No-op for non-completed items. Results land in {@link detailSummaries}. */ requestDetailSummary(item: IInboxNotificationItem): void; /** * Privacy-safe telemetry identity for the item's session: a hashed session id and a bounded * provider category (reusing the shared Agents-window telemetry helpers so inbox events * correlate with `agents/sessionSummary` and friends by the same key). Returns `'none'` for * both when the item has no resolvable session. */ getInteractionTelemetryContext(item: IInboxNotificationItem): IInboxInteractionTelemetryContext; }