import { Widget } from '../widgets/index.js';
import { FrontendApplication } from '../frontend-application.js';
import { FrontendApplicationContribution } from '../frontend-application-contribution.js';
import { WindowTitleService } from './window-title-service.js';
import { LabelProvider } from '../label-provider.js';
import { Disposable } from '../../common/index.js';
export declare class WindowTitleUpdater implements FrontendApplicationContribution {
    protected readonly windowTitleService: WindowTitleService;
    protected readonly labelProvider: LabelProvider;
    onStart(app: FrontendApplication): void;
    protected toDisposeOnWidgetChanged: Disposable;
    protected handleWidgetChange(widget?: Widget): void;
    /**
     * Updates the title of the application based on the currently opened widget.
     *
     * @param widget The current widget in the `main` application area. `undefined` if no widget is currently open in that area.
     */
    protected updateTitleWidget(widget?: Widget): void;
}
//# sourceMappingURL=window-title-updater.d.ts.map