///
import type { Middleware, Store } from 'redux';
import type { Value } from './types/node';
import type { RootState } from './types/state';
export declare const EditorContext: import("react").Context | null>;
export declare type Languages = Array<{
lang: string;
label: string;
}>;
export interface CoreEditorProps {
middleware?: Middleware[];
store?: Store | null;
initialState: RootState;
}
declare class EditorStore {
store: Store;
middleware: Middleware[];
constructor({ middleware, store, initialState }: CoreEditorProps);
setLang(lang: string): void;
getNodeWithAncestors: (nodeId: string) => import("./types/node").NodeWithAncestors | null;
getNode: (nodeId: string) => import("./types/node").Node | undefined;
}
export declare const createEmptyState: () => Value;
export default EditorStore;
//# sourceMappingURL=EditorStore.d.ts.map