@milkdown/core
Version:
22 lines • 1.46 kB
TypeScript
import type { SliceType, TimerType } from '@milkdown/ctx';
import type { InputRule } from '@milkdown/prose/inputrules';
import type { EditorState, Plugin } from '@milkdown/prose/state';
import type { EditorView, MarkViewConstructor, NodeViewConstructor } from '@milkdown/prose/view';
import type { RemarkParser, RemarkPlugin } from '@milkdown/transformer';
import type { Options } from 'remark-stringify';
import type { Editor } from '../editor';
export declare const editorViewCtx: SliceType<EditorView, "editorView">;
export declare const editorStateCtx: SliceType<EditorState, "editorState">;
export declare const initTimerCtx: SliceType<TimerType[], "initTimer">;
export declare const editorCtx: SliceType<Editor, "editor">;
export declare const inputRulesCtx: SliceType<InputRule[], "inputRules">;
export declare const prosePluginsCtx: SliceType<Plugin<any>[], "prosePlugins">;
export declare const remarkPluginsCtx: SliceType<RemarkPlugin<Record<string, unknown>>[], "remarkPlugins">;
type NodeView = [nodeId: string, view: NodeViewConstructor];
export declare const nodeViewCtx: SliceType<NodeView[], "nodeView">;
type MarkView = [nodeId: string, view: MarkViewConstructor];
export declare const markViewCtx: SliceType<MarkView[], "markView">;
export declare const remarkCtx: SliceType<RemarkParser, 'remark'>;
export declare const remarkStringifyOptionsCtx: SliceType<Options, "remarkStringifyOptions">;
export {};
//# sourceMappingURL=atoms.d.ts.map