import { CancellationToken } from '../../../util/vs/base/common/cancellation'; export interface MessageOptions { modal?: boolean; detail?: string; } export interface ProgressOptions { location: ProgressLocation | { viewId: string; }; title?: string; cancellable?: boolean; } export declare enum ProgressLocation { SourceControl = 1, Window = 10, Notification = 15 } export interface Progress { report(value: T): void; } export interface INotificationService { readonly _serviceBrand: undefined; showInformationMessage(message: string, ...items: string[]): Promise; showInformationMessage(message: string, options: MessageOptions, ...items: T[]): Promise; showWarningMessage(message: string, ...items: string[]): Promise; showQuotaExceededDialog(options: { isNoAuthUser: boolean; }): Promise; withProgress(options: ProgressOptions, task: (progress: Progress<{ message?: string; increment?: number; }>, token: CancellationToken) => Thenable): Promise; } export declare class NullNotificationService implements INotificationService { readonly _serviceBrand: undefined; showInformationMessage(message: string, options: MessageOptions, ...items: T[]): Promise; showInformationMessage(message: string, ...items: string[]): Promise; showInformationMessage(message: string, options: MessageOptions, ...items: T[]): Promise; showWarningMessage(message: string, ...items: string[]): Promise; showQuotaExceededDialog(options: { isNoAuthUser: boolean; }): Promise; withProgress(options: ProgressOptions, task: (progress: Progress<{ message?: string; increment?: number; }>, token: CancellationToken) => Thenable): Promise; } export declare const INotificationService: import("../../../util/common/services").ServiceIdentifier; //# sourceMappingURL=notificationService.d.ts.map