import { Disposable, IDisposable } from "../../../../../base/common/lifecycle.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { ILogService } from "../../../../../platform/log/common/log.service.js"; import { IChatThinkingTitleRequest } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatThinkingTitleService"; import { IChatThinkingTitleService } from "../../common/chatThinkingTitleService.service.js"; /** Generates only at a visible live completion; revisiting a header may only reuse a cached title. */ export declare class ChatThinkingTitleController extends Disposable { private readonly container; private readonly topInset; private readonly intersectionObserver; private readonly titleService; private readonly configurationService; private readonly logService; private readonly requests; private readonly visible; private readonly observerStore; private observer; private window; private chatVisible; private readonly scheduler; constructor(container: HTMLElement, topInset: () => number, intersectionObserver: typeof IntersectionObserver | undefined, titleService: IChatThinkingTitleService, configurationService: IConfigurationService, logService: ILogService); register(header: HTMLElement, getRequest: () => IChatThinkingTitleRequest, acceptTitle: (title: string) => void, newlyCompleted: boolean): IDisposable; setVisible(visible: boolean): void; private ensureObserver; private isRelevant; private isInViewport; private update; private generateVisibleTitles; private generate; dispose(): void; }