import { Disposable, IDisposable } from "../../../../../base/common/lifecycle.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { RawContextKey } from "../../../../../platform/contextkey/common/contextkey.js"; import { IContextKeyService } from "../../../../../platform/contextkey/common/contextkey.service.js"; import { IKeybindingService } from "../../../../../platform/keybinding/common/keybinding.service.js"; import { ILogService } from "../../../../../platform/log/common/log.service.js"; import { IStorageService } from "../../../../../platform/storage/common/storage.service.js"; import { ChatPetJumpDirection } from "../../common/chatPetJumpGame.js"; export declare const ChatPetJumpGameFocusedContext: RawContextKey; interface IChatPetJumpGameOptions { readonly bounds: HTMLElement; readonly platform: HTMLElement; readonly motionReduced: boolean; readonly onRender: (airborne: boolean, direction: ChatPetJumpDirection) => void; readonly onExit: (reason: "escape" | "fall" | "blur" | "cancel") => void; } export declare class ChatPetJumpGame extends Disposable { private readonly overlay; private readonly pet; private readonly options; private readonly storageService; private readonly logService; private readonly model; private readonly effects; private readonly backdrop; private readonly stage; private readonly gauge; private readonly cells; private readonly hopsLabel; private readonly highScoreLabel; private readonly platforms; private readonly walls; private readonly frame; private readonly originalParent; private readonly originalStyle; private readonly originalAriaLabel; private readonly originalFacing; private readonly fadeIn; private effectsReleased; private bounds; private anchor; private lastFrameTime; private paused; private disposed; private highScore; private displayedHops; constructor(overlay: HTMLElement, pet: HTMLElement, options: IChatPetJumpGameOptions, configurationService: IConfigurationService, contextKeyService: IContextKeyService, keybindingService: IKeybindingService, storageService: IStorageService, logService: ILogService); isFocused(): boolean; layout(): void; private onKeyDown; private scheduleFrame; private render; private updateScore; pause(): void; resume(restoreFocus?: boolean): void; finishFadeIn(): void; fadeOut(motionReduced: boolean): IDisposable; getHelp(): string; getAccessibleContent(): string; dispose(): void; } export {};