import { IProgressOptions, IProgressDialogOptions, IProgressNotificationOptions, IProgressWindowOptions, IProgressCompositeOptions, IProgress, IProgressStep, type IProgressIndicator } from "./progress.js"; export declare const IProgressService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; /** * A progress service that can be used to report progress to various locations of the UI. */ export interface IProgressService { readonly _serviceBrand: undefined; withProgress(options: IProgressOptions | IProgressDialogOptions | IProgressNotificationOptions | IProgressWindowOptions | IProgressCompositeOptions, task: (progress: IProgress) => Promise, onDidCancel?: (choice?: number) => void): Promise; } export declare const IEditorProgressService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; /** * A progress service that will report progress local to the editor triggered from. */ export interface IEditorProgressService extends IProgressIndicator { readonly _serviceBrand: undefined; }