import { ExternalDocumentationObject, PontxJsonSchema } from "./schema.js"; import { OAS3 } from "oas-spec-ts"; export type OAS3API = OAS3.OperationObject; export declare class Parameter { schema: PontxJsonSchema; name: string; required: boolean; in: "query" | "body" | "path" | "formData" | "header"; } export type HeaderObject = { name?: string; description?: string; externalDocs?: ExternalDocumentationObject; }; export type ResponseObject = { schema?: PontxJsonSchema; headers?: { [key: string]: HeaderObject; }; description?: string; }; export declare class PontxAPI { name?: string; path: string; method: "GET" | "POST" | "PUT" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"; title?: string; summary?: string; description?: string; tags?: string[]; consumes?: string[]; produces?: string[]; parameters?: Parameter[]; responses: { default?: ResponseObject; [statusCode: string]: ResponseObject; }; deprecated?: boolean; ext?: any; security?: Array; externalDocs?: ExternalDocumentationObject; static getUsedStructNames(api: PontxAPI): string[]; }