import { ReactNode } from 'react';
import { ConfigInterface } from '../config';
import { OpenAPIDocumentData } from '../types/openapi';
import { SectionLayout } from '../components/Section';
/**
* Standalone, composable OpenAPI section components — mirrors public/sections.tsx
* (AsyncAPI). Each renders one part of an OpenAPI document (servers, endpoints,
* schemas, info) on its own, dual-mode:
* - Standalone:
* - Composed:
*/
export interface OpenAPISectionProps {
/** The OpenAPI document. Required standalone; unnecessary (and ignored) when rendered inside . */
document?: OpenAPIDocumentData;
config?: ConfigInterface;
/**
* `"columns"` (default) — reserved right gutter at large breakpoints.
* `"stacked"` — full-width single column; no prose max-width and no empty
* side space. For Info/Servers, side content stacks below the main content.
*/
layout?: SectionLayout;
}
export declare function OpenAPIProvider({ document, config, children, }: {
document: OpenAPIDocumentData;
config?: ConfigInterface;
children: ReactNode;
}): import("react").JSX.Element;
export declare function OpenAPIServers({ layout, ...providerProps }: OpenAPISectionProps): import("react").JSX.Element;
export declare function OpenAPIEndpoints({ layout, ...providerProps }: OpenAPISectionProps): import("react").JSX.Element;
/** OpenAPI 3.1 `webhooks`. Renders nothing for a document that declares none. */
export declare function OpenAPIWebhooks({ layout, ...providerProps }: OpenAPISectionProps): import("react").JSX.Element;
export declare function OpenAPISchemas({ layout, ...providerProps }: OpenAPISectionProps): import("react").JSX.Element;
export declare function OpenAPIInfo({ layout, ...providerProps }: OpenAPISectionProps): import("react").JSX.Element;