//#region src/nodeType.d.ts declare const TRANSLATION: "translation"; declare const ENUMERATION: "enumeration"; declare const PLURAL: "plural"; declare const CONDITION: "condition"; declare const INSERTION: "insertion"; declare const FILE: "file"; declare const OBJECT: "object"; declare const ARRAY: "array"; declare const NESTED: "nested"; declare const REACT_NODE: "reactNode"; declare const PREACT_NODE: "preactNode"; declare const SOLID_NODE: "solidNode"; declare const MARKDOWN: "markdown"; declare const HTML: "html"; declare const TEXT: "text"; declare const NUMBER: "number"; declare const BOOLEAN: "boolean"; declare const GENDER: "gender"; declare const NULL: "null"; declare const UNKNOWN: "unknown"; /** * NodeType strings that correspond to plugins that can be conditionally * removed from the bundle when unused. */ declare const PLUGIN_NODE_TYPES: readonly [typeof TRANSLATION, typeof ENUMERATION, typeof PLURAL, typeof CONDITION, typeof INSERTION, typeof GENDER, typeof NESTED, typeof FILE, typeof MARKDOWN, typeof HTML, typeof REACT_NODE, typeof PREACT_NODE, typeof SOLID_NODE]; type NodeType = typeof TRANSLATION | typeof ENUMERATION | typeof PLURAL | typeof CONDITION | typeof INSERTION | typeof FILE | typeof OBJECT | typeof ARRAY | typeof NESTED | typeof REACT_NODE | typeof PREACT_NODE | typeof SOLID_NODE | typeof MARKDOWN | typeof HTML | typeof TEXT | typeof NUMBER | typeof BOOLEAN | typeof GENDER | typeof NULL | typeof UNKNOWN; type AdditionalAttributesType = { [key: string]: unknown; }; type TypedNodeModel = { nodeType: T; } & { [K in T]: Content } & AdditionalAttributes; declare const formatNodeType: (nodeType: T, content: Content, additionalAttributes?: { [key: string]: unknown; }) => TypedNodeModel; //#endregion export { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType }; //# sourceMappingURL=nodeType.d.ts.map