import type { ThreadService } from "../services.js"; /** Boot globals of {@link lspThreadService}. */ export interface LspServiceGlobals { /** * Subscribe `listener` to main's effective shared-LSP mode and answer the * mode at subscription; the subscription lasts until the worker exits. */ readonly watchSharedLsp: (listener: (enabled: boolean) => unknown) => boolean | Promise; } /** Keeps each worker's shared-LSP mode equal to the main thread's. */ export declare const lspThreadService: ThreadService;