import { Schema } from "./genSchema"; export interface Body { imports: string[]; apis: Api[]; info: { content?: string; version?: string; description?: string; contact?: { name?: string; email?: string; }; }; } export interface Parameter { name: string; in: "path" | "form"; description?: string; schema: Schema; } export interface Req { params: Schema; data: Schema; } export declare type HttpResType = "get" | "post" | "put" | "delete"; export interface Api { url: string; summary?: string; description?: string; metadata: { name: string; }; type: HttpResType; req: Req; resp: Resp; } export interface Resp { type: "json" | "other"; schema: Schema; } export declare const renderBody: (c: any, paths: any) => void;