I would love if languages like Scala, Swift or F# had something like Cel but running at compile time so your program was evaluated against those restrictions. I believe a language called Idris has something like this
But most use cases are treating CEL as a user provided config, which requires runtime parsing and execution.
type MyType{ myName: string where size > 8, year: number where number > 2000 }
Then, whenever this type is used, at compile time, an evaluation is done to ensure that the type restrictions are enforced.