import { Fragment, Schema } from "prosemirror-model"; import * as attachmentSchema from "./attachment/schema"; import { RefsFragment, RefsNode } from "./composing"; export { RefsNode, RefsFragment, Fragment }; export declare type NodeTypeName = attachmentSchema.TypeName | "doc" | "p" | "ul" | "ol" | "li" | "hr" | "bq" | "h" | "br" | "tbl" | "tr" | "th" | "td" | "text"; export declare type MarkTypeName = "b" | "i" | "l" | "s" | "u" | "cr"; export interface HeadingAttrs { /** * "Level" * * The heading level (e.g. h1 → 1, h2 → 2). Valid values: 1, 2 */ l: number; } export interface CellAttrs { colspan: number; rowspan: number; colwidth?: ReadonlyArray | null; } export declare const enum LinkAttr { URL = "u", TITLE = "t" } export interface LinkAttrs { u: string; t?: string; } /** * ClipboardRange mark */ export declare const enum ClipboardRangeAttr { ID = "i", TYPE = "t", ATTRS = "a" } export interface ClipboardRangeAttrs { i: string; t: string; a: string; } export declare type EditorSchema = Schema; export declare const schema: Schema;