import { PromiseConstructor, Thenable, LanguageService } from 'vscode-json-languageservice';
import { Hover, TextDocument, Position } from 'vscode-languageserver-types';
import { LanguageSettings } from '../yamlLanguageService';
export declare class YAMLHover {
    private promise;
    private shouldHover;
    private jsonLanguageService;
    constructor(promiseConstructor: PromiseConstructor, jsonLanguageService: LanguageService);
    configure(languageSettings: LanguageSettings): void;
    doHover(document: TextDocument, position: Position): Thenable<Hover>;
}
