import * as vscode from 'vscode-languageserver-protocol';
import { SharedContext } from '../types';
export declare function register(ctx: SharedContext): {
    onRange: (uri: string, range: vscode.Range | undefined, options: vscode.FormattingOptions) => Promise<vscode.TextEdit[]>;
    onType: (uri: string, options: vscode.FormattingOptions, position: vscode.Position, key: string) => Promise<vscode.TextEdit[]>;
};
