interface RTENode { type: string; uid: string; attrs?: Record; children?: Array; } interface RTETextNode { text: string; bold?: boolean; italic?: boolean; underline?: boolean; strikethrough?: boolean; code?: boolean; superscript?: boolean; subscript?: boolean; } interface RTEDocNode extends RTENode { type: "doc"; } export type { RTEDocNode as R, RTENode as a, RTETextNode as b };