import { Connection, TextDocuments } from 'vscode-languageserver'; import { TextDocument } from 'vscode-languageserver-textdocument'; /** * Initializes the connection and registers all lifecycle event handlers. * * The event handlers interact with the `WorkspaceManager` to find the relevant * context and service instance, and then perform the required actions. * * Providers are used here directly in the event handlers. */ declare class AnsibleLanguageService { private connection; private documents; private workspaceManager; private validationManager; private schemaService; constructor(connection: Connection, documents: TextDocuments); initialize(): void; private initializeConnection; private registerLifecycleEventHandlers; private handleError; } export { AnsibleLanguageService };