import { LocalStore } from '../localstore'; import { CloudBaseError } from '../error'; import { Credential, WebAuthCredential, RequestConfig } from '../types'; export declare const authStore: LocalStore<{ _: string; credential: Partial & Partial; }>; export declare enum ENV_NAME { ENV_SECRETID = "TENCENTCLOUD_SECRETID", ENV_SECRETKEY = "TENCENTCLOUD_SECRETKEY", ENV_SESSIONTOKEN = "TENCENTCLOUD_SESSIONTOKEN", ENV_TCB_ENV_ID = "TENCENTCLOUD_TCB_ENVID", ENV_RUNENV = "TENCENTCLOUD_RUNENV", ENV_RUNENV_SCF = "TENCENTCLOUD_RUNENV=SCF", ENV_CLOUDBASE_API_KEY = "CLOUDBASE_API_KEY", ENV_CLOUDBASE_ENV_ID = "CLOUDBASE_ENV_ID" } export declare function getCredentialData(options?: { cwd?: string; }): Promise; export declare function refreshTmpToken(metaData: Credential & { isLogout?: boolean; }): Promise; export declare const isCamRefused: (e: CloudBaseError) => boolean; export declare function checkAndGetCredential(options?: RequestConfig & { cwd?: string; }): Promise; export declare function getCredentialWithoutCheck(options?: { cwd?: string; }): Promise;