claude-flow
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
25 lines (24 loc) • 886 B
TypeScript
import { Disposable } from 'vscode';
import { ProgressToken, ProgressType, NotificationHandler, ProtocolNotificationType } from 'vscode-languageserver-protocol';
export interface ProgressContext {
onProgress<P>(type: ProgressType<P>, token: string | number, handler: NotificationHandler<P>): Disposable;
sendNotification<P, RO>(type: ProtocolNotificationType<P, RO>, params?: P): void;
}
export declare class ProgressPart {
private _client;
private _token;
private _infinite;
private _reported;
private _lspProgressDisposable;
private _progress;
private _cancellationToken;
private _tokenDisposable;
private _resolve;
private _reject;
constructor(_client: ProgressContext, _token: ProgressToken, done?: (part: ProgressPart) => void);
private begin;
private report;
constructor(): void;
constructor(): void;
private cleanup;
}