import type * as ts from 'typescript/lib/tsserverlibrary';
export { PackageJsonAutoImportPreference } from './5_0/projectService';
export declare function createLanguageService(ts: typeof import('typescript/lib/tsserverlibrary'), host: ts.LanguageServiceHost, createLanguageService: (host: ts.LanguageServiceHost) => ts.LanguageService, rootDirectory: string): {
    languageService: ts.LanguageService;
    setPreferences?(preferences: ts.UserPreferences): void;
    projectUpdated?(updatedProjectDirectory: string): void;
};
