import { HttpApi } from '@opra/common'; import type { TsGenerator } from '../ts-generator.js'; /** * Generates TypeScript code for an HTTP API. * * @param api - The HTTP API to generate code for. * @returns A promise that resolves to the generated TsFile. */ export declare function generateHttpApi(this: TsGenerator, api: HttpApi): Promise;