import { SwaggerJson, Json2Service } from '../consts';
interface API {
    name: string;
    desc: string;
    add_time: number;
    up_time: number;
    index: number;
    proBasepath?: string;
    proName?: string;
    proDescription?: string;
    list: List[];
}
interface List {
    tag: any[];
    method: string;
    title: string;
    path: string;
    req_body_other: string;
    req_body_type: string;
    res_body_type: string;
    add_time: number;
    up_time: number;
    markdown: string;
    desc: string;
    res_body: string;
    res_schema_body?: string;
    index: number;
    api_opened: boolean;
    res_body_is_json_schema: boolean;
    req_body_form: any[];
    req_body_is_json_schema: boolean;
    req_params: any[];
    req_headers: any[];
    req_query: any[];
    query_path: QueryPath;
    type: string;
    status: string;
}
interface QueryPath {
    path: string;
    params: any[];
}
export default function yapiJSon2swagger(list: API[], yapiConfig?: Json2Service['yapiConfig']): SwaggerJson;
export declare type SwaggerLikeJson = ReturnType<typeof yapiJSon2swagger>;
export {};
