import type { CompletionRequest } from '../types/messages.js'; import type { SecurityFinding } from '../types/security.js'; /** * Validates a request's shape before it is sent. * * The checks are written out rather than declared through a schema library, so the security * pipeline, which runs on every request, adds no dependency to the install. */ export declare class SchemaValidator { /** Findings for every field that does not match the request schema. */ validate(request: CompletionRequest): SecurityFinding[]; }