import { INotificationsModel } from "../../../common/notifications.js"; import { Dimension } from "../../../../base/browser/dom.js"; import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js"; import { Event } from "../../../../base/common/event.js"; import { IWorkbenchLayoutService } from "../../../services/layout/browser/layoutService.service.js"; import { Themable } from "../../../../platform/theme/common/themeService.js"; import { IThemeService } from "../../../../platform/theme/common/themeService.service.js"; import { IEditorGroupsService } from "../../../services/editor/common/editorGroupsService.service.js"; import { INotificationsToastController } from "./notificationsCommands.js"; import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js"; import { ILifecycleService } from "../../../services/lifecycle/common/lifecycle.service.js"; import { IHostService } from "../../../services/host/browser/host.service.js"; import { IWorkbenchEnvironmentService } from "../../../services/environment/common/environmentService.service.js"; import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js"; export declare class NotificationsToasts extends Themable implements INotificationsToastController { private readonly container; private readonly model; private readonly instantiationService; private readonly layoutService; private readonly editorGroupService; private readonly lifecycleService; private readonly hostService; private readonly environmentService; private readonly configurationService; private static readonly MAX_WIDTH; private static readonly MAX_NOTIFICATIONS; private static readonly PURGE_TIMEOUT; private static readonly SPAM_PROTECTION; private readonly _onDidChangeVisibility; readonly onDidChangeVisibility: Event; private _isVisible; get isVisible(): boolean; private notificationsToastsContainer; private workbenchDimensions; private isNotificationsCenterVisible; private readonly mapNotificationToToast; private readonly mapNotificationToDisposable; private readonly notificationsToastsVisibleContextKey; private readonly addedToastsIntervalCounter; constructor(container: HTMLElement, model: INotificationsModel, instantiationService: IInstantiationService, layoutService: IWorkbenchLayoutService, themeService: IThemeService, editorGroupService: IEditorGroupsService, contextKeyService: IContextKeyService, lifecycleService: ILifecycleService, hostService: IHostService, environmentService: IWorkbenchEnvironmentService, configurationService: IConfigurationService); private registerListeners; private updateNotificationPosition; private updateTopOffset; private onDidChangeNotification; private addToast; private isElementInNotificationQuarter; private doAddToast; private purgeNotification; private removeToast; private removeToasts; private doHide; hide(): void; focus(): boolean; focusNext(): boolean; focusPrevious(): boolean; focusFirst(): boolean; focusLast(): boolean; update(isCenterVisible: boolean): void; updateStyles(): void; private getToasts; layout(dimension: Dimension | undefined): void; private computeMaxDimensions; private layoutLists; private layoutContainer; private updateToastVisibility; private isToastInDOM; }