import { IObservable } from "../../../../base/common/observable.js"; import { IMountedToggleHandle } from "@codingame/monaco-vscode-workbench-service-override/vscode/vs/sessions/contrib/aquarium/browser/aquariumOverlay"; /** * Owns the toggle button(s), the persisted on/off preference, and the active * aquarium. Hosts call {@link IAquariumService.mountToggle} to attach a button * as a child of their container; the active aquarium itself is mounted inside * the chat bar part so the chat input naturally paints on top of the water. */ export declare const IAquariumService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IAquariumService { readonly _serviceBrand: undefined; /** Whether the aquarium action is visible on its mounted hosts. */ readonly actionVisible: IObservable; /** * Mount a toggle button into `parent`. Returns a handle that exposes a * {@link IMountedToggleHandle.setHostVisible} hook so callers can keep the * aquarium tied to their own visibility (e.g. a view pane). Disposing the * handle removes the button and tears down the active aquarium if it was * the last mount. */ mountToggle(parent: HTMLElement): IMountedToggleHandle; /** Toggles and persists the aquarium action visibility. */ toggleActionVisibility(): boolean; /** * Development/demo hook: force the persisted feeding streak into a specific * state and refresh the toggle tooltip(s) live. When `alive` is false the * streak is parked as a died/revivable streak and the revival prompt is * offered (when an aquarium is active). A `count` of 0 clears the streak. */ simulateStreak(count: number, alive: boolean): void; }