/// <reference types="node" />
/// <reference types="node" />
import type { OpenAPI2, OpenAPI3, SchemaObject, SwaggerToTSOptions } from "./types.js";
import { Readable } from "stream";
import { URL } from "url";
export * from "./types.js";
export declare const COMMENT_HEADER = "/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\n\n";
declare function openapiTS(schema: string | URL | OpenAPI2 | OpenAPI3 | Record<string, SchemaObject> | Readable, options?: SwaggerToTSOptions): Promise<string>;
export default openapiTS;
