/** * EJS API 信息查询 * @作者 li peng * @创建时间 2025-12-20 * @描述 实现 EJS 原生 API 信息的查询功能 */ import type { ApiDoc, ApiMethod } from '../types/index.js'; /** * 获取 API 模块信息 * @param moduleName 模块名称 * @returns API 模块信息或 null */ export declare function getApiInfo(moduleName: string): ApiDoc | null; /** * 获取 API 方法信息 * @param moduleName 模块名称 * @param methodName 方法名称 * @returns API 方法信息或 null */ export declare function getApiMethodInfo(moduleName: string, methodName: string): ApiMethod | null; /** * 获取所有可用的 API 模块 * @returns 模块名称数组 */ export declare function getAvailableModules(): string[]; /** * 格式化 API 信息为文本 * @param api API 文档 * @param methodName 可选的方法名称 * @returns 格式化的文本 */ export declare function formatApiInfo(api: ApiDoc, methodName?: string): string; /** * 将 EJS API 加载到文档索引中 * @returns API 文档映射 */ export declare function loadEjsApis(): Map; //# sourceMappingURL=apis.d.ts.map