import type { BaseAppConfig } from '../app/config';
import type { OpenApiDocument, OpenApiSerializableApp } from './types';
export interface SerializeOpenApiOptions {
    title?: string;
    version?: string;
    includeInternal?: boolean;
}
export interface DumpOpenApiOptions extends SerializeOpenApiOptions {
    path?: string;
}
export declare function serializeOpenApiSchema(app: OpenApiSerializableApp, options?: SerializeOpenApiOptions): OpenApiDocument;
export declare function dumpOpenApiSchema(app: OpenApiSerializableApp, options?: DumpOpenApiOptions): Promise<string>;
export declare function serializeOpenApiYaml(app: OpenApiSerializableApp, options?: SerializeOpenApiOptions): string;
export declare function shouldExposeOpenApi(config: Pick<BaseAppConfig, 'APP_ENV' | 'ENABLE_OPENAPI_SCHEMA' | 'ENABLE_OPENAPI_ROUTE'>): boolean;
export declare function shouldDumpOpenApiSchema(config: Pick<BaseAppConfig, 'APP_ENV' | 'ENABLE_OPENAPI_SCHEMA'>): boolean;
//# sourceMappingURL=serializer.d.ts.map