import { IDisposable } from "../../../../base/common/lifecycle.js"; import { IActivity } from "../../../../workbench/services/activity/common/activity.js"; import { Event } from "../../../sessions.web.main.internal.js"; export declare const ISessionActivityBarActivityService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; /** * Shows activity, such as a badge, on the entries of the Session Activity Bar, * like the workbench `IActivityService` does for the activity bar's view * containers. Entries are identified by the id of the command they run. */ export interface ISessionActivityBarActivityService { readonly _serviceBrand: undefined; /** Emitted with the command id whose activity changed. */ readonly onDidChangeActivity: Event; /** Shows `activity` on the entry running `commandId` until the returned disposable is disposed. */ showActivity(commandId: string, activity: IActivity): IDisposable; /** The activities shown on the entry running `commandId`, most recent last. */ getActivity(commandId: string): readonly IActivity[]; }