import type { LanguageService, LanguageServiceHost, UserPreferences } from 'typescript/lib/tsserverlibrary';
export default function (ts: typeof import('typescript/lib/tsserverlibrary'), host: LanguageServiceHost, createLanguageService: (host: LanguageServiceHost) => LanguageService, rootDirectory: string): {
    languageService: LanguageService;
    setPreferences(newPreferences: UserPreferences): void;
    projectUpdated(path: string): void;
};
