import { RequestInfo } from '../helper'; export interface SMSAdapter { send: (id: string, phoneNumber: string, tmplData: Record) => Promise; getTmplId: (type: 'verify-code') => string; } export declare class AliyunSMSAdapter implements SMSAdapter { private client; private config; constructor(); send(id: string, phoneNumber: string, tmplData: Record): Promise; getTmplId(type: 'verify-code'): string; } export declare class SMSHelper { private static adapter; static init(): void; static generateVerifyCode(key: string): Promise; static sendVerifyCode(req: RequestInfo, phoneNumber: string): Promise; static redeemVerifyCode(req: RequestInfo, code: string): Promise; static sendSMS(id: string, phoneNumber: string, tmplData?: Record): Promise; }