export interface ApiInterface { _id: string; title: string; path: string; method: string; req_params: any[]; req_body_form: any[]; req_headers: any[]; req_query: any[]; req_body_type: string; res_body_type: string; res_body: string; desc: string; markdown: string; } export interface GetApiResponse { errcode: number; errmsg: string; data: ApiInterface; } export declare class YApiService { private readonly baseUrl; private readonly token; private readonly logger; constructor(baseUrl: string, token: string); private request; getApiInterface(id: string): Promise; }