export default Formula; declare class Formula { constructor(opt: any); opt: any; mindMap: any; config: { throwOnError: boolean; errorColor: string; output: string; }; cssEl: HTMLStyleElement; onDestroy(): void; init(): void; getKatexConfig(): { throwOnError: boolean; errorColor: string; output: string; }; extendQuill(): void; getStyleText(): string; addStyle(): void; removeStyle(): void; insertFormulaToNode(node: any, formula: any): void; latexRichToText(nodeText: any): any; formatLatex(richText: any): void; checkFormulaIsLegal(str: any): boolean; beforePluginRemove(): void; beforePluginDestroy(): void; } declare namespace Formula { const instanceName: string; }