import { AsyncAPIDocumentData } from '../types/schema'; import { HttpMethod, OpenAPIDocumentData } from '../types/openapi'; import { Deref } from './jsonPointer'; export declare function asyncApiToMarkdown(doc: AsyncAPIDocumentData, deref?: Deref): string; /** Builds a self-contained Markdown snippet for a single AsyncAPI operation: * doc info + servers, followed by that one operation's section (see * `operationSectionToMarkdown`), as opposed to `asyncApiToMarkdown`'s * whole-document export. */ export declare function asyncApiOperationToMarkdown(doc: AsyncAPIDocumentData, key: string, deref?: Deref): string; export declare function openApiToMarkdown(doc: OpenAPIDocumentData, deref?: Deref): string; /** * Builds a self-contained Markdown snippet for a single OpenAPI endpoint: * doc info + servers (so the snippet stands alone without the rest of the * document) followed by that one endpoint's fully-dereferenced parameters, * request body, and responses, as opposed to `openApiToMarkdown`'s * whole-document export. Backs the "Agent Prompt" entry in the endpoint's * code-sample dropdown (components/CodeSamples.tsx). */ export declare function openApiEndpointToMarkdown(doc: OpenAPIDocumentData, method: HttpMethod, path: string, deref?: Deref): string;