import { IPixelRatioMonitor } from "../../../../../base/browser/pixelRatio.js"; import { Disposable, IDisposable } from "../../../../../base/common/lifecycle.js"; import { IAccessibilityService } from "../../../../../platform/accessibility/common/accessibility.service.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { ILogService } from "../../../../../platform/log/common/log.service.js"; import { IThemeService } from "../../../../../platform/theme/common/themeService.service.js"; import { ChatProgressAnimation } from "../../common/constants.js"; import { acquireChatWorkingLogoAtlas, hasChatWorkingLogoAtlas } from "./chatWorkingLogoAtlas.js"; /** Plays the product mark from a shared 120 Hz atlas, with a 60 Hz SVG fallback and static reduced-motion artwork. */ export declare class ChatWorkingLogo extends Disposable { private readonly animationOptions; readonly domNode: HTMLElement; readonly drawDurationMs = 2667; private animationFrame; private readonly atlasRequest; private readonly atlasRefresh; private readonly windowDisposables; private atlasKey; private atlasPlaying; private targetWindow; private pixelRatio; private drawPaths; private drawPathData; private readonly now; private readonly scheduleFrame; private readonly isMotionReducedOverride; private animation; private active; private visible; private animationStartedAt; private lastDrawFrame; constructor(animation: ChatProgressAnimation, quality?: "stable" | "insider", animationOptions?: { readonly now?: () => number; readonly scheduleFrame?: (targetWindow: Window, runner: () => void) => IDisposable; readonly isMotionReduced?: () => boolean; readonly observeVisibility?: (element: HTMLElement, onDidChange: (visible: boolean) => void) => IDisposable; readonly intersectionObserver?: typeof IntersectionObserver; readonly resizeObserver?: typeof ResizeObserver; readonly pixelRatio?: IPixelRatioMonitor; readonly acquireAtlas?: typeof acquireChatWorkingLogoAtlas; readonly hasAtlas?: typeof hasChatWorkingLogoAtlas; readonly atlasPreparationDelay?: number; readonly onAtlasError?: (error: Error) => void; }); setAnimation(animation: ChatProgressAnimation): void; setActive(active: boolean): void; protected refreshMotion(): void; protected refreshAppearance(): void; dispose(): void; private canAnimate; private observeSizeAndPixelRatio; private clearAtlas; private scheduleAtlasRefresh; private updateAtlas; private ensureDrawArtwork; private restartDrawAnimation; private queueAnimationFrame; private renderNextDrawFrame; private renderDrawFrame; private isMotionReduced; } export declare class ChatWorkingProgressLogo extends ChatWorkingLogo { constructor(quality: "stable" | "insider", configurationService: IConfigurationService, logService: ILogService, accessibilityService: IAccessibilityService, themeService: IThemeService); } export declare function getConfiguredProgressAnimation(configurationService: IConfigurationService, logService: ILogService): ChatProgressAnimation;