import { ValidationError } from "../core/index.js";
export function componentName(ctor) {
    if (!ctor.name)
        throw new ValidationError("COMPONENT_NAME", "Component classes must have a stable name.");
    return ctor.name;
}
//# sourceMappingURL=Component.js.map