/** * The generic kinds of elements that can be created with Generator.create(). Each concrete generator * maps every kind to its output format (e.g. HtmlElements). * * Usage: `Elements.block`, etc. * * Elements that need arguments get a dedicated create*() method instead (createLink, createImage, ...). * * This could be an enum, but enums are not erasable syntax (erasableSyntaxOnly in @tsconfig/node-ts), * so this is an object built from the list of kinds instead, mapping each kind to itself. * * Import Elements from generator.ts, which re-exports it. This module should be kept free of imports * so that it can't become part of an import cycle. */ declare const kinds: readonly ["inline", "block", "part", "chapter", "section", "subsection", "subsubsection", "paragraph", "subparagraph", "par", "linebreak", "list", "unorderedList", "orderedList", "descriptionList", "listitem", "itemlabel", "term", "description", "quote", "quotation", "verse", "titlepage", "title", "author", "date", "abstract", "verb", "verbatim"]; export type ElementKind = typeof kinds[number]; export declare const Elements: { readonly [K in ElementKind]: K; }; export declare function isElementKind(kind: unknown): kind is ElementKind; export {};