import { ContextStore } from '../../core/index.js'; /** * 项目信息 */ export interface ResolvedProjectInfo { projectId: string; projectName: string; } /** * 解析项目信息(从统一缓存) */ export declare function resolveProjectInfo(projectRoot: string, contextStore: ContextStore, projectName?: string, projectId?: string, shareId?: string): ResolvedProjectInfo | null; /** * 获取 API Base URL(已废弃,使用 ConfigManager.getApiBaseUrl()) * @deprecated 使用 ConfigManager.getApiBaseUrl() 替代 */ export declare function getApiBaseUrlFromEnv(): string | null; /** * 构建缺失 Token 的响应 */ export declare function buildMissingTokenResponse(): { content: { type: "text"; text: string; }[]; isError: boolean; }; /** * 构建文本响应 */ export declare function buildTextResponse(text: string, isError?: boolean): { content: { type: "text"; text: string; }[]; isError: boolean; }; /** * 构建 curl 代码片段 */ export declare function buildCurlSnippet(detail: { method?: string; path?: string; }): string; /** * 构建 fetch 代码片段 */ export declare function buildFetchSnippet(detail: { method?: string; path?: string; }): string; //# sourceMappingURL=utils.d.ts.map