import type { TEditorLanguage } from "./types"; export declare function formattingEditorContent(text: string, language: TEditorLanguage): Promise<{ canceled?: boolean; error?: Error; pretty?: string; }>; /** * 注册代码格式化工具 * * @returns */ export declare function registerDocumentFormattingEditProviders(): { dispose(): void; };