import { CancellationToken , ProgressLocation } from "vscode" ; export interface IProgressReporter { /**
     * Returns the id of the progress reporter.
     */ getId ( ) : string ; /**
     * Returns the progress location.
     */ getProgressLocation ( ) : ProgressLocation | { viewId : string ; } ; param message param increment report ( message , increment ? ) : void ; /**
     * Shows the progress reporter.
     */ show ( ) : void ; param onlyNotifications hide ( onlyNotifications ? ) : void ; /**
     * Returns whether the progress reporter has been cancelled or completed.
     */ isCancelled ( ) : boolean ; /**
     * Notifies the work is done that is either the task is completed or the user has cancelled it.
     */ done ( ) : void ; /**
     * The CancellationToken to monitor if the progress reporter has been cancelled by the user.
     */ getCancellationToken ( ) : CancellationToken ; param token observe ( token ? ) : void ; } export interface IProgressProvider { param jobName param progressLocation param cancellable createProgressReporter ( jobName , progressLocation ? , cancellable ? ) : IProgressReporter ; param progressId getProgressReporter ( progressId ) : IProgressReporter | undefined ; }