import { SvelteComponent, Snippet } from 'svelte'; import { HTMLAttributes } from 'svelte/elements'; import { TextEditor } from 'framework7/types'; interface Props { color?: string; colorTheme?: string; textColor?: string; bgColor?: string; borderColor?: string; rippleColor?: string; dark?: boolean; mode?: string; value?: string; buttons?: Array; customButtons?: Object; dividers?: boolean; imageUrlText?: string; linkUrlText?: string; placeholder?: string; clearFormattingOnPaste?: boolean; resizable?: boolean; onTextEditorChange?: (value?: any) => void; onTextEditorInput?: (value?: any) => void; onTextEditorFocus?: (...args: any[]) => void; onTextEditorBlur?: (...args: any[]) => void; onTextEditorButtonClick?: (button?: any) => void; onTextEditorKeyboardOpen?: (...args: any[]) => void; onTextEditorKeyboardClose?: (...args: any[]) => void; onTextEditorPopoverOpen?: (...args: any[]) => void; onTextEditorPopoverClose?: (...args: any[]) => void; onTextEditorInsertLink?: (...args: any[]) => void; onTextEditorInsertImage?: (...args: any[]) => void; rootStart?: Snippet; children?: Snippet; rootEnd?: Snippet; root?: Snippet; ontexteditorchange?: () => void; ontexteditorinput?: () => void; ontexteditorfocus?: () => void; ontexteditorblur?: () => void; ontexteditorbuttonclick?: () => void; ontexteditorkeyboardopen?: () => void; ontexteditorkeyboardclose?: () => void; ontexteditorpopoveropen?: () => void; ontexteditorpopoverclose?: () => void; ontexteditorinsertlink?: () => void; ontexteditorinsertimage?: () => void; } interface TextEditorProps {} interface TextEditorProps extends Props {} interface TextEditorProps extends HTMLAttributes {} interface TextEditorEvents extends Record<'',{}>{} declare class TextEditor extends SvelteComponent< TextEditorProps, TextEditorEvents, { } > {} export { TextEditorProps }; export default TextEditor;