/** Reset cache (for testing) */ export declare function _resetCache(): void; /** * 读取 Optima token * 优先级: ~/.optima/token.json > 环境变量 OPTIMA_TOKEN * * 容器内 token.json 会被 session-gateway 在 token refresh 时动态更新, * 而 OPTIMA_TOKEN 环境变量只在容器启动时注入、之后不会变。 * 文件优先保证 CLI 拿到的是最新的 token,避免过期后调用 API 失败。 */ export declare function getToken(): string; /** * 获取 Generation API 的 base URL * 优先级: GENERATION_API_URL 环境变量 > token.json 的 env 字段 > 默认 prod */ export declare function getGenerationApiUrl(): string; //# sourceMappingURL=auth.d.ts.map