/** * @author jasonHzq * @description Spec 作用域命令:搜索 API */ import Fuse from "fuse.js"; import type { PontxManager } from "../../../manager.d.ts"; import type { CliContext } from "../../context.d.ts"; export declare function buildFuse(pontxManager: PontxManager, useRemote?: boolean, filterSpecName?: string): Fuse; export declare function searchApis(keyword: string, fuse: Fuse, maxCount?: number): { tagName: any; specName: any; apiName: any; method: any; path: any; title: any; summary: any; description: any; }[]; /** * Search command: search APIs by keyword within a spec */ export declare function searchCommand(ctx: CliContext, specName: string, keyword: string, options?: { max?: number; useRemote?: boolean; }): Promise;