function validateCookies validateCookies(schema: unknown): MiddlewareFunction Validate cookies against a schema. Delegates to the configured IValidationService so the error format matches the plugin registration. Parameters schema: unknown The schema (must expose safeParse) Return Type MiddlewareFunction A middleware function