import type { OperationDescriptor } from "./openapi-types.js"; export declare function firstLine(text: unknown): string; /** * Builds the API-reference landing page as safe MDX. Endpoint metadata is * emitted through JSX string expressions, so arbitrary OpenAPI summaries, * paths, tags, and descriptions remain text rather than executable MDX. */ export declare function buildApiIndexBody(operations: OperationDescriptor[]): string; /** Minimal markdown body for an endpoint, used by the llms.txt aggregation. */ export declare function buildEndpointBody(title: string, methodUpper: string, pathKey: string, opRaw: any): string; /** * Builds the MDX body for a generated endpoint page: the operation description, * followed by `` documentation for the parameters and request body, and * a schema/example code block per response. Spec-derived strings are emitted * only through serialized JSX expressions. Rendered above the playground. */ export declare function buildEndpointDoc(op: OperationDescriptor): string;