import type { Editor } from '@tiptap/vue-3'; import type { ColorPreset } from '../../types/index.js'; /** * The text and highlight menus, as one pair - the toolbar and the selection bubble both offer them, and * each rendering needs its own open state or opening one would open the other. */ type __VLS_Props = { editor: Editor; presets: ColorPreset[]; /** Read from the selection by the parent, which is what tracks editor transactions. */ textColor: string; highlightColor: string; disabled?: boolean; }; type __VLS_ModelProps = { /** Reported so the selection bubble can stay on screen while a color is being picked. */ 'open'?: boolean; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:open": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;