import { API } from 'src/interface/common'; import { Swagger2_Docs } from 'src/interface/swagger2/doc'; import { SchemaParserOptions } from 'src/swagger_3/paser'; export declare class SchemaV2Parser { #private; /** 所有类型名字 -> 类型字符串 */ types: Record; /** 所有 api 列表 */ apis: API[]; constructor(docs: Swagger2_Docs, options?: SchemaParserOptions); /** 创建 interface 字符串 */ private createInterfaceString; /** 将 api path 和 请求方式组合生成 api 名称 */ private mapApiPathToApiName; }