/** * The one rule for "is this name a component?" * * An optional SINGLE leading underscore, then a capital letter, then letters, * digits and underscores. The underscore prefix is a namespace reserved for * framework-provided components (`_Root_Layout`) so they cannot collide with * application components. Two or more leading underscores are not a component * name; a lower-case first letter after the optional underscore is an HTML tag. */ export declare const COMPONENT_NAME_PATTERN: RegExp; export declare const COMPONENT_NAME_RULE = "must start with a capital letter, optionally preceded by a single underscore"; export declare function is_component_name(name: string): boolean; /** * The render-time check behind <{expression}>: the expression must evaluate * to a component name string that a literal tag would accept - no more, no * less. A valid name that names nothing renders the ordinary placeholder * component, exactly as an undefined literal tag does. */ export declare function dynamic_component_name(value: unknown): string; //# sourceMappingURL=component-name.d.ts.map