import { FC } from 'react'; import { BrainfishEditorProps } from '../types'; /** * Collab editor wrapper. While connecting, shows a read-only markdown preview; once * `collabState` exists, mounts collab underneath and removes the preview on `onReady` * (after Y.Doc is applied into ProseMirror). Preview and collab each get a * `MilkdownProvider` so unmounting preview does not tear down collab context. * * Collab content comes from Hocuspocus (`default` Y fragment), not `applyTemplate`. */ declare const BrainfishEditor: FC; export { BrainfishEditor };