/** * Lone opening tag: a name, then optional free text (no `<`, `>`, `=` or newline). * Group 1 = name, group 2 = text. `=` keeps real HTML attributes out. */ export declare const LONE_TAG_SOURCE = "<([A-Za-z][A-Za-z0-9-]*)(?:[ \\t]+([^<>=\\n]*?))?[ \\t]*>"; /** "add-footnote", " " → "add-footnote"; invalid → null. */ export declare function normalizeTagName(input: string): string | null; /** "" → { name: "generate-image", text: ": la scène" }; invalid → null. */ export declare function normalizeTag(input: string): { name: string; text: string; } | null; //# sourceMappingURL=tagName.d.ts.map