import type { Connection, TextDocumentChangeEvent } from 'vscode-languageserver'; import type LSP from 'vscode-languageserver-protocol'; import type { TextDocument } from 'vscode-languageserver-textdocument'; import { type LoggingService } from '../infrastructure/logging.service.js'; import { WorkspaceFolderService } from '../workspace/workspace-folder.service.js'; import { WorkspaceOptionsService } from '../workspace/workspace-options.service.js'; /** * Service that warns users when the `stylelint.config` setting is set to an * empty object (`{}`), which overrides config file lookup and may cause * confusing "No rules found" errors. */ export declare class EmptyConfigWarningLspService { #private; constructor(options: WorkspaceOptionsService, workspaceFolderService: WorkspaceFolderService, connection: Connection, loggingService: LoggingService); handleDocumentOpened({ document }: TextDocumentChangeEvent): Promise; onInitialize(params?: LSP.InitializeParams): void; }