import { OpenAPIObject } from 'openapi3-ts'; import { GenConfig } from './ServiceGenerator'; export declare class CliConfig extends GenConfig { api?: string; saveOpenAPIData?: boolean; autoClear?: boolean; /** 自动清除旧文件时忽略列表 */ ignoreDelete?: string[]; } export declare function genSDK(cfg: string | CliConfig | CliConfig[]): Promise; export declare function genFromData(config: CliConfig, data: OpenAPIObject): Promise; export declare function convertSwagger2OpenAPI(data: OpenAPIObject): Promise; export declare function genFromUrl(config: CliConfig): Promise;