import type { Node } from 'prosemirror-model'; import type { EditorView } from 'prosemirror-view'; export declare type NodeViewProps = { node: Node; view: EditorView; getPos: GetPos; open: boolean; edit: boolean; }; export declare enum LanguageNames { PlainText = "text/plain", Js = "javascript", Json = "Json", Jsx = "jsx", Ts = "typescript", Python = "python", Shell = "shell", Swift = "swift", Php = "php", Cpp = "text/x-c++src", ObjC = "text/x-objectivec", Java = "text/x-java", Scala = "text/x-scala", C = "text/x-csrc", Csharp = "text/x-csharp", Julia = "julia", Html = "htmlmixed", R = "r", Sql = "sql", Ruby = "ruby", Rust = "rust", Go = "go", Yaml = "text/x-yaml" } export declare const SUPPORTED_LANGUAGES: { name: LanguageNames; label: string; }[]; export declare type GetPos = () => number;