import { default as MarkdownIt } from 'markdown-it'; import { Editor } from '@tiptap/react'; import { IpfsImageFetchPayload } from '../types'; interface SlideContent { type: 'h1' | 'h2' | 'content' | 'image' | 'table'; content: string; } export interface Slides { [key: number]: SlideContent[]; } export declare const md: MarkdownIt; export declare const convertToMarkdown: (editor: Editor, ipfsImageFetchFn?: (_data: IpfsImageFetchPayload) => Promise<{ url: string; file: File; }>, fetchV1ImageFn?: (url: string) => Promise) => Promise; export declare const processMarkdownContent: (markdown: string) => Slides; export {};