import Joi from 'joi'; type Json = string | number | boolean | null | Json[] | { [key: string]: Json; }; type Body = { type: 'json'; data: Json; } | { type: 'string'; data: string; } | { type: 'hex'; data: string; }; declare const schema: Joi.ObjectSchema; interface WebRequest { hashId: string; incoming: boolean; createdAt: Date; request: { url: { protocol: string; host: string; path: string; query: Record; }; ip: string; method: string; headers: Record; body?: Body; certificate: { subjects: { key: { encoding: 'utf8' | 'hex'; value: string; }; value: { encoding: 'utf8' | 'hex'; value: string; }; }[][]; } | null; pskIdentityHint?: string; }; response: { statusCode: number; headers: Record; body?: Body; } | null; } export { schema, WebRequest };