import { BackendRuntimeContext } from '../../context/BackendRuntimeContext'; import Sms from "../../types/Sms"; import { EntityDict } from '../../oak-app-domain'; import { TencentSmsConfig } from '../../types/Config'; export default class Tencent implements Sms { name: string; getConfig(context: BackendRuntimeContext, systemId?: string): Promise<{ config: TencentSmsConfig; mockSend: boolean | undefined; }>; syncTemplate(options: { systemId: string; pageIndex?: number; pageSize?: number; international?: number; }, context: BackendRuntimeContext): Promise<{ templateCode: string; templateName: string; templateContent: string; }[]>; sendSms(params: { mobile: string; templateParam?: Record; smsTemplate: Partial; }, context: BackendRuntimeContext): Promise<{ success: boolean; res: any; }>; }