import { Credential } from '../types'; export declare const CLI_AUTH_BASE_URL = "https://tcb.cloud.tencent.com/dev"; export declare function getAuthTokenFromWeb(options?: { /** * 认证模式 * @deprecated 新登录页(/login?cliAuth=1)为默认行为,本参数保留仅为兼容,不再影响 URL 与回调解析 */ authMode?: 'oauth' | 'apikey'; getAuthUrl?: (rawUrl: string) => string; noBrowser?: boolean; callbackTimeout?: number; /** 静默模式,不打印任何日志 */ silent?: boolean; }): Promise;