import { generateApi } from 'swagger-typescript-api'; import type { ServiceConfig } from './types'; /** * Generate code for a swagger service * * @param userConfig the configuration for code generation * * @returns the generated result */ export declare function generate(userConfig: ServiceConfig): ReturnType; /** * Generate code by choosing a service from a list * * @param configList the list of services * * @returns the generated result */ export declare const generateWithPrompt: (configList: ServiceConfig[]) => Promise> | undefined>;