import { r as EditorThemeInput } from "./types-8PZgYQuK.mjs"; import * as _$react from "react"; import { ReactNode } from "react"; import { Content, Editor, Extensions, JSONContent } from "@tiptap/core"; //#region src/email-editor/email-editor.d.ts interface EmailEditorRef { getEmail: () => Promise<{ html: string; text: string; }>; getEmailHTML: () => Promise; getEmailText: () => Promise; getJSON: () => JSONContent; editor: Editor | null; } interface EmailEditorProps { content?: Content; onUpdate?: (ref: EmailEditorRef) => void; onReady?: (ref: EmailEditorRef) => void; theme?: EditorThemeInput; editable?: boolean; placeholder?: string; bubbleMenu?: { hideWhenActiveNodes?: string[]; hideWhenActiveMarks?: string[]; }; extensions?: Extensions; onUploadImage?: (file: File) => Promise<{ url: string; }>; className?: string; children?: ReactNode; } declare const EmailEditor: _$react.ForwardRefExoticComponent>; //#endregion export { EmailEditor, type EmailEditorProps, type EmailEditorRef }; //# sourceMappingURL=index.d.mts.map