import { IDisposable } from './disposable'; export declare enum ProgressLocation { Explorer = 1, Scm = 3, Extensions = 5, Window = 10, Notification = 15, Dialog = 20 } export interface IAction extends IDisposable { readonly id: string; label: string; tooltip?: string; class?: string; enabled?: boolean; checked?: boolean; primary?: boolean; run(event?: any): Promise; } export interface IProgressOptions { readonly location: ProgressLocation | string; readonly title?: string; readonly source?: string; readonly total?: number; readonly cancellable?: boolean; readonly closeable?: boolean; readonly buttons?: Array; } export interface IProgressNotificationOptions extends IProgressOptions { readonly location: ProgressLocation.Notification; readonly delay?: number; readonly silent?: boolean; } export interface IProgressWindowOptions extends IProgressOptions { readonly location: ProgressLocation.Window; readonly command?: string; } export interface IProgressCompositeOptions extends IProgressOptions { readonly location: ProgressLocation.Explorer | ProgressLocation.Extensions | ProgressLocation.Scm | ProgressLocation.Window | ProgressLocation.Notification | ProgressLocation.Dialog | string; readonly delay?: number; } export interface IProgressStep { message?: string; increment?: number; total?: number; } export interface IProgress { report(item: T): void; } export declare class Progress implements IProgress { private callback; static readonly None: IProgress; private _value?; get value(): T | undefined; constructor(callback: (data: T) => void); report(item: T): void; } //# sourceMappingURL=progress.d.ts.map