import { CollectionConfig } from "@rebasepro/types"; /** * OpenAPI 3.0.3 specification generator. * * Produces a spec that exactly mirrors the REST API consumed by the * Rebase SDK client (`@rebasepro/client`). * * Routes are mounted at `{basePath}/data/{slug}` by `initializeRebaseBackend`. */ export interface OpenApiGeneratorOptions { /** Base path for the API (e.g. "/api"). Defaults to "/api". */ basePath?: string; /** Whether auth is enabled on data routes. Defaults to true. */ requireAuth?: boolean; } export declare function generateOpenApiSpec(collections: CollectionConfig[], options?: OpenApiGeneratorOptions): Record;