/** * Request handlers for OpenAPI specification and Swagger UI */ import type { IRequestContext } from '../core/smartserve.interfaces.js'; import type { IOpenApiGeneratorOptions } from './openapi.types.js'; /** * Create a handler that serves the OpenAPI JSON specification */ export declare function createOpenApiHandler(options: IOpenApiGeneratorOptions): (ctx: IRequestContext) => Promise; /** * Create a handler that serves Swagger UI * * Loads Swagger UI from unpkg CDN - no bundled assets needed */ export declare function createSwaggerUiHandler(specUrl?: string, title?: string): (ctx: IRequestContext) => Promise; /** * Create a handler that serves ReDoc UI (alternative to Swagger UI) * * ReDoc provides a clean, responsive documentation layout */ export declare function createReDocHandler(specUrl?: string, title?: string): (ctx: IRequestContext) => Promise;