import type { FormattingOptions } from 'vscode-languageserver-types';
import { TextEdit } from 'vscode-languageserver-types';
import type { CustomFormatterOptions, LanguageSettings } from '../yamlLanguageService';
import type { TextDocument } from 'vscode-languageserver-textdocument';
export declare class YAMLFormatter {
    private formatterEnabled;
    configure(shouldFormat: LanguageSettings): void;
    format(document: TextDocument, options?: Partial<FormattingOptions> & CustomFormatterOptions): Promise<TextEdit[]>;
}
