import { CodeGenerator } from '../code-generator'; import { OpenApiCliOptions } from './open-api-cli-options'; /** * Manage the schematic to generate a sdk using the `@openapitools/openapi-generator-cli` */ export declare class OpenApiCliGenerator extends CodeGenerator { protected readonly packageManager: 'npm' | 'yarn'; protected get packageManagerRunner(): 'npx' | 'yarn'; /** @inheritDoc */ protected readonly generatorName = "openapi-codegen-npm-cli"; constructor(options?: { packageManager?: 'npm' | 'yarn' | ''; }); /** * Install the specified java open api generator * @param version of the OpenApi Generator jar to use * @param spawnOptions to configure your command line environment */ private runInstallOpenApiGenerator; /** * Run the OpenApi generator jar with the configuration specified to generate a SDK based on the specified specification * @param generatorOptions contains the version of the generator to use, the output dir, the specification file and config to use etc. * @param spawnOptions to configure your command line environment */ private runGenerator; /** @inheritDoc */ protected getDefaultOptions: () => Readonly; /** @inheritDoc */ protected runCodeGeneratorFactory: (factoryOptions?: { rootDirectory?: string; }) => (generatorOptions?: OpenApiCliOptions) => Promise; } //# sourceMappingURL=open-api-cli-generator.d.ts.map