import { Disposable } from "../../../../../../base/common/lifecycle.js"; import { type ProgressParams } from "../../../../../../platform/agentHost/common/state/sessionActions.js"; import { IConfigurationService } from "../../../../../../platform/configuration/common/configuration.service.js"; import { IProgressService } from "../../../../../../platform/progress/common/progress.service.js"; /** * Renders agent-host `progress` notifications as notification progress bars. * * Shared by the Agents window (via `BaseAgentHostSessionsProvider`) and the * editor window (via `AgentHostContribution`) so both surfaces render the * agent host's lazy, first-use SDK download identically. * * Correlates downloads and provider setup by {@link ProgressParams.progressToken}; * zero progress without a total is indeterminate, and `progress >= total` completes it. */ export declare class AgentHostDownloadProgress extends Disposable { private readonly _progressService; private readonly _configurationService; /** * Active progress indicators keyed by `progressToken`. The host emits a * single stream per download keyed by the download's own stable identity * (so distinct sessions of a provider share one indicator). Each entry owns * one long-running notification progress (opened on the first frame), driven * via {@link IActiveDownload.report} and dismissed via * {@link IActiveDownload.complete} once `progress >= total`. */ private readonly _activeDownloads; constructor(_progressService: IProgressService, _configurationService: IConfigurationService); handleProgress(progress: ProgressParams): void; }