import type { ProviderConfigMap, SmsProvider } from '../types'; import type { SmsSendInput, SmsSendResult, ISmsConnector } from '../types'; import type { SmsInputMap } from '../types/input-map.type'; import { ChannelTypeEnum } from '../types'; type SmsFacadeInput
= P extends keyof SmsInputMap ? SmsInputMap[P] : SmsSendInput; type SmsConfigWithFetch
= ProviderConfigMap[P] & { fetch?: typeof fetch; }; export declare class Sms
{ readonly id: string; readonly channelType = ChannelTypeEnum.SMS; private readonly connector; constructor(providerId: P, config: SmsConfigWithFetch
); constructor(connector: ISmsConnector); send(input: SmsFacadeInput
): Promise