/**
 * Request body validation for /v1/messages endpoint.
 * Returns structured validation result — never throws.
 */
export interface ValidatedMessagesBody {
    model: string;
    messages: Array<{
        role: string;
        content: unknown;
    }>;
    max_tokens: number;
    stream?: boolean;
    [key: string]: unknown;
}
export type ValidationResult = {
    valid: true;
    body: ValidatedMessagesBody;
} | {
    valid: false;
    error: string;
};
export declare function validateMessagesBody(raw: unknown): ValidationResult;
