import { EditorView } from '@codemirror/view'; import { StoreApi } from 'zustand'; interface EditorContentStoreType { content: string; setContent: (content: string) => void; scrollWrapper: string; setScrollWrapper: (scrollWrapper: string) => void; editorView: EditorView | null; setEditorView: (view: EditorView | null) => void; previewView: HTMLElement | null; setPreviewView: (view: HTMLElement | null) => void; } export declare const createEditorContentStore: () => StoreApi; declare const EditorContentStoreContext: import('react').Context | null>; type Selector = (state: EditorContentStoreType) => T; declare const useEditorContentStore: (selector?: Selector) => T; export { EditorContentStoreContext, useEditorContentStore }; export type { EditorContentStoreType };