import { ActionType } from './apis'; import { CapiCredentials, RegionType } from '../interface'; import { Capi } from '@tencent-sdk/capi'; import { AccountDetail } from './interface'; /** CAM (访问管理)for serverless */ export default class Cam { region: RegionType; credentials: CapiCredentials; capi: Capi; constructor(credentials: CapiCredentials, region?: RegionType); request({ Action, ...data }: { Action: ActionType; [key: string]: any }): Promise; /** * 获取账号详情 * @returns 账号详情 */ get(): Promise; }