import { IManagedHoverContent } from "../../../../../base/browser/ui/hover/hover.js"; import { IMarkdownString } from "../../../../../base/common/htmlContent.js"; import { Disposable } from "../../../../../base/common/lifecycle.js"; import { IChatSpeechToTextService } from "./chatSpeechToTextService.service.js"; /** * Circular progress ring rendered over the dictation toolbar icon while the * on-device model downloads, so the wait reads as a determinate download. */ export declare class DictationDownloadRing extends Disposable { private readonly _speechToTextService; private readonly _ringElement; private readonly _progressCircle; constructor(container: HTMLElement, _speechToTextService: IChatSpeechToTextService); update(): void; } /** * Markdown describing what the mic is doing while it prepares, for use as hover * content. The on-device backend downloads a local model; the cloud backend * connects. Both are cancelled by clicking the affordance, so the hover invites * the user to click to cancel. The ring conveys live progress/activity, so the * text stays fixed to avoid churning on every tick. */ export declare function getDictationDownloadHoverMarkdown(service: Pick): IMarkdownString; /** * Static hover explaining what the mic is doing while it prepares, wrapped as * managed hover content for toolbar affordances. */ export declare function getDictationDownloadHoverContent(service: Pick): IManagedHoverContent; /** * A short, live label describing the on-device model's preparation state, for * surfaces without a progress ring (editor placeholder, terminal decoration). * Reads out the download percentage when known, otherwise a generic preparing * message (indeterminate download or loading into memory). */ export declare function getDictationPreparingLabel(service: IChatSpeechToTextService): string;