import { NodeSpec, MarkSpec, Schema } from 'prosemirror-model'; /** [Specs](https://prosemirror.net/docs/ref/#model.NodeSpec) for the nodes defined in this schema. */ declare const nodes: { /** NodeSpec The top level document node. */ doc: NodeSpec; /** A plain paragraph textblock. Represented in the DOM as a `
` element. */ paragraph: NodeSpec; /** A blockquote (`
`) wrapping one or more blocks. */ blockquote: NodeSpec; /** A horizontal rule (`
`). */ horizontal_rule: NodeSpec; /** A heading textblock, with a `level` attribute that should hold the number 1 to 6. Parsed and serialized as `` to `
` elements. */ heading: NodeSpec; /** A code listing. Disallows marks or non-text inline nodes by default. Represented as a `
` element with a `` element inside of it. */ code_block: NodeSpec; /** The text node. */ text: NodeSpec; /** An inline image (`
`) node. Supports `src`, `alt`, and `href` attributes. The latter two default to the empty string. */ image: NodeSpec; /** A hard line break, represented in the DOM as `
`. */ hard_break: NodeSpec; }; /** [Specs](https://prosemirror.net/docs/ref/#model.MarkSpec) for the marks in the schema. */ declare const marks: { /** A link. Has `href` and `title` attributes. `title` defaults to the empty string. Rendered and parsed as an `` element. */ link: MarkSpec; /** An emphasis mark. Rendered as an `` element. Has parse rules that also match `` and `font-style: italic`. */ em: MarkSpec; /** A strong mark. Rendered as ``, parse rules also match `` and `font-weight: bold`. */ strong: MarkSpec; /** Code font mark. Represented as a `` element. */ code: MarkSpec; }; /** This schema roughly corresponds to the document schema used by [CommonMark](http://commonmark.org/), minus the list elements, which are defined in the [`prosemirror-schema-list`](https://prosemirror.net/docs/ref/#schema-list) module. To reuse elements from this schema, extend or read from its `spec.nodes` and `spec.marks` [properties](https://prosemirror.net/docs/ref/#model.Schema.spec). */ declare const schema: Schema<"blockquote" | "image" | "text" | "doc" | "paragraph" | "horizontal_rule" | "heading" | "code_block" | "hard_break", "link" | "code" | "em" | "strong">; export { marks, nodes, schema };