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<EditorContentStoreType>;
declare const EditorContentStoreContext: import('react').Context<StoreApi<EditorContentStoreType> | null>;
type Selector<T> = (state: EditorContentStoreType) => T;
declare const useEditorContentStore: <T = EditorContentStoreType>(selector?: Selector<T>) => T;
export { EditorContentStoreContext, useEditorContentStore };
export type { EditorContentStoreType };
