import { Editor } from '@tiptap/react'; import { IEditorToolElement } from '../components/editor-utils'; import { Tab } from '../components/tabs/utils/tab-utils'; import * as Y from 'yjs'; interface UseDdocExportArgs { editor: Editor | null; tabs: Tab[]; ydoc: Y.Doc | null; exportOptions: (IEditorToolElement | null)[]; } declare const useDdocExport: ({ editor, tabs, ydoc, exportOptions, }: UseDdocExportArgs) => { getOptionFormat: (title: string) => "" | "md" | "pdf" | "md-css" | "html" | "txt" | "odt"; formatSelectOptions: { id: string; label: string; }[]; handleExport: ({ format, tab, name }: { format: string; tab: string; name?: string; }) => void; handleExportAsync: ({ format, tab, name, }: { format: string; tab: string; name?: string; }) => Promise; }; export { useDdocExport };