import { type Extension } from "@codemirror/state";
export type I18n = Record<"bold" | "italic" | "strikethrough" | "quote" | "link" | "code" | "math", string>;
type FormatType = "bold" | "italic" | "strikethrough" | "code" | "math" | "link";
interface FormatUtil {
    test: (text: string) => boolean;
    remove: (text: string) => string;
}
export declare const formatUtils: Record<FormatType, FormatUtil>;
export declare function tooltipPlugin(i18n?: Partial<I18n>): Extension;
export {};
//# sourceMappingURL=tooltip.d.ts.map