import { ValidationError } from "../../core/index.js";
export class NameComponent {
    name;
    constructor(name) {
        this.name = name;
        if (!name)
            throw new ValidationError("NAME_COMPONENT", "NameComponent requires a non-empty name.");
    }
}
//# sourceMappingURL=NameComponent.js.map