import { Editor } from '@tiptap/react';
import { Tab } from './tabs/utils/tab-utils';
import { DdocProps } from '../types';

import * as Y from 'yjs';
interface PreviewModeExportTriggerProps {
    editor: Editor | null;
    ydoc: Y.Doc;
    tabs: Tab[];
    onRegisterExportTrigger?: (trigger: ((format?: string, name?: string) => void) | null) => void;
    onError?: (errorString: string) => void;
    ipfsImageUploadFn?: DdocProps['ipfsImageUploadFn'];
    onMarkdownExport?: DdocProps['onMarkdownExport'];
    onMarkdownImport?: DdocProps['onMarkdownImport'];
    onPdfExport?: DdocProps['onPdfExport'];
    onHtmlExport?: DdocProps['onHtmlExport'];
    onTxtExport?: DdocProps['onTxtExport'];
    onOdtExport?: DdocProps['onOdtExport'];
    ipfsImageFetchFn?: DdocProps['ipfsImageFetchFn'];
    onDocxImport?: DdocProps['onDocxImport'];
    fetchV1ImageFn?: DdocProps['fetchV1ImageFn'];
    isConnected?: DdocProps['isConnected'];
}
declare const PreviewModeExportTrigger: ({ editor, ydoc, tabs, onRegisterExportTrigger, onError, ipfsImageUploadFn, onMarkdownExport, onMarkdownImport, onPdfExport, onHtmlExport, onTxtExport, onOdtExport, ipfsImageFetchFn, onDocxImport, fetchV1ImageFn, isConnected, }: PreviewModeExportTriggerProps) => import("react/jsx-runtime").JSX.Element;
export { PreviewModeExportTrigger };
