import { Extension } from '@tiptap/core'; import { IpfsImageFetchPayload } from '../../types'; declare module '@tiptap/core' { interface Commands { exportOdtFile: { exportOdtFile: (props?: { title?: string; }) => any; }; } } /** * Preprocess TipTap HTML for odf-kit compatibility: * - Convert task lists to standard lists with checkbox text prefixes * - Replace tags with warning text (odf-kit v1 skips images) * - Convert callouts (