function validateHeaders validateHeaders(schema: unknown): MiddlewareFunction Validate request headers 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