import { type AppLike } from '../routes/RouteDefinition.js'; type Schema = Record; /** OpenAPI 3.1 — the part of it this writes. */ export interface OpenApiDocument { openapi: '3.1.0'; info: { title: string; version: string; }; tags: { name: string; }[]; paths: Record>; components: { schemas: Record; }; } /** * What this process serves on REST, as OpenAPI 3.1 — read off the routes `generateRoutes` already * answers, never declared beside them. A schema is the card's descriptor, which IS JSON Schema; a * refusal is the op's own `errors` and the half the framework implies, at the status the door says. */ export declare function openApiOf(app: AppLike): OpenApiDocument; export {}; //# sourceMappingURL=document.d.ts.map