import type { Editor as TiptapEditor } from '@tiptap/core'; import type { MutableRefObject } from 'react'; import type { EditorProps, CustomComponent } from './Editor.types'; import type { IframeEditorHandle } from './hooks/useIframeSetup'; export interface IframeTiptapEditorProps { placeholder?: string; defaultValue?: string; disabled?: boolean; readOnly?: boolean; onChange?: (editor: TiptapEditor) => void; onKeyDown?: (event?: KeyboardEvent) => void; onFocus?: () => void; onBlur?: () => void; onInit?: (editor: TiptapEditor) => void; onImageAdded?: (image: File, id: string, altText?: string) => void; imagesEnabled?: boolean; linksEnabled?: boolean; colorsEnabled?: boolean; imageInsertionMode?: 'file' | 'url' | 'all'; pastedImagesRef?: MutableRefObject; editorId?: string; editorRef: MutableRefObject; spellcheck?: boolean; customElements?: CustomComponent[]; initOptions?: EditorProps['initOptions']; secure?: boolean; preserveTableStyles?: boolean; onFocusTableMenu?: () => void; onFocusPreviousCellMenu?: () => void; } export declare const IframeTiptapEditor: ({ placeholder, defaultValue, disabled, readOnly, onChange, onKeyDown, onFocus, onBlur, onInit, editorRef, spellcheck, customElements, initOptions, onImageAdded, imagesEnabled, linksEnabled, colorsEnabled, imageInsertionMode, pastedImagesRef, editorId, secure, preserveTableStyles, onFocusTableMenu, onFocusPreviousCellMenu }: IframeTiptapEditorProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=IframeTiptapEditor.d.ts.map