import type { ApiInterface, ProjectInfo, CategoryInfo, ApiSearchResultItem, SaveApiInterfaceParams, SaveApiResponse } from "./types"; export declare class YApiService { private readonly baseUrl; private readonly tokenMap; private readonly defaultToken; private projectInfoCache; private categoryListCache; private readonly logger; constructor(baseUrl: string, token: string, logLevel?: string); getConfiguredProjectIds(): string[]; getProjectInfoCache(): Map; getCategoryListCache(): Map; private getToken; private request; getCategoryList(projectId: string): Promise; loadAllCategoryLists(): Promise; getProjectInfo(projectId: string): Promise; loadAllProjectInfo(): Promise; getApiInterface(projectId: string, id: string): Promise; saveInterface(params: SaveApiInterfaceParams): Promise; searchApis(options: { projectKeyword?: string; nameKeyword?: string[] | string; pathKeyword?: string[] | string; tagKeyword?: string[] | string; page?: number; limit?: number; maxProjects?: number; }): Promise<{ total: number; list: Array; }>; private searchWithSingleKeyword; private deduplicateResults; getCategoryApis(projectId: string, catId: string): Promise>; }