import type { ImageLike } from '@happyvertical/smrt-images/svelte'; import { type ContentBodyFormat, type ContentBodyImage, type ImageAssetLike } from '../../body-format'; export interface ContentBodyEditorChange { body: string; bodyFormat: ContentBodyFormat; images: ContentBodyImage[]; } export interface Props { value: string; format?: ContentBodyFormat | null; placeholder?: string; selectedImageIndex?: number; onChange?: (change: ContentBodyEditorChange) => void; onOpenImageChooser?: () => void; onSelectImage?: (index: number) => void; onUseImageAsThumbnail?: (assetId: string) => void; onResolveImage?: (selected: ImageLike | File | string) => Promise | unknown; } declare const ContentBodyEditor: import("svelte").Component void; focusImage: (index: number) => void; }, "">; type ContentBodyEditor = ReturnType; export default ContentBodyEditor; //# sourceMappingURL=ContentBodyEditor.svelte.d.ts.map