/** * @author jasonHzq * @description 列举指定 spec 下 APIs 的命令 */ import type { PontxManager } from "../manager.d.ts"; import type { CliContext } from "../cli-context.d.ts"; /** * 列举 APIs 的选项 */ export interface ListApisOptions { /** 使用远程元数据 */ useRemote?: boolean; /** 以 JSON 格式输出 */ json?: boolean; } /** * 列举指定 spec 下的 APIs * @param managerOrContext PontxManager 或 CliContext * @param specName spec 名称 * @param tagName 可选的 tag 名称,如果指定则只列举该 tag 下的 APIs * @param options 选项 */ export declare function listApisCommand(managerOrContext: PontxManager | CliContext, specName: string, tagName?: string, options?: ListApisOptions): Promise;