import { Interface, StandardDataType } from '../../main/StandardDataSource'; declare enum SwaggerType { integer = "integer", string = "string", file = "string", array = "array", number = "number", boolean = "boolean", object = "object" } export declare class SwaggerProperty { type: SwaggerType; enum?: string[]; items?: { type?: SwaggerType; $ref?: string; }; additionalProperties: SwaggerProperty; $ref?: string; description?: string; name: string; } export declare class SwaggerParameter { /** 字段名 */ name: string; in: 'query' | 'body' | 'path'; /** 描述 */ description: string; /** 是否必填 */ required: boolean; /** 类型 */ type?: SwaggerType; enum?: string[]; items?: { type?: SwaggerType; $ref?: string; }; schema: Schema; } declare class SwaggerRequestBody { /** 描述 */ description: string; /** 是否必填 */ required: boolean; content: { [key: string]: { schema: Schema; }; }; } export declare class Schema { enum?: string[]; type: SwaggerType; additionalProperties?: Schema; items: { type?: SwaggerType; $ref?: string; }; $ref: string; static parseSwaggerSchema2StandardDataType(schema: Schema, defNames: string[], classTemplateArgs?: StandardDataType[], compileTemplateKeyword?: string): any; } export declare class SwaggerInterface { consumes: string[]; parameters: SwaggerParameter[]; requestBody: SwaggerRequestBody; summary: string; description: string; initialValue: string; tags: string[]; response: Schema; method: string; name: string; path: string; samePath: string; operationId: string; static transformSwaggerV3Interface2Standard(inter: SwaggerInterface, usingOperationId: boolean, samePath: string, defNames?: string[]): Interface; static transformSwaggerInterface2Standard(inter: SwaggerInterface, usingOperationId: boolean, samePath: string, defNames?: string[], compileTempateKeyword?: string): Interface; } export interface SwaggerReferenceObject { $ref: string; } export {};