import { BasePlatformAdapter, MessageEvent, ProcessingOutcome, SendResult } from './platform-base.js'; import type { PlatformConfig } from './platform-base.js'; export interface SmsConfig extends PlatformConfig { accountSid?: string; authToken?: string; fromNumber?: string; webhookPort?: number; webhookHost?: string; webhookUrl?: string; allowedNumbers?: string[]; insecureNoSignature?: boolean; homeChannel?: string; } declare const MAX_SMS_LENGTH = 1600; declare function redactPhone(phone: string): string; export declare class SmsChannel extends BasePlatformAdapter { private accountSid; private authToken; private fromNumber; private webhookPort; private webhookHost; private webhookUrl; private allowedNumbers; private insecureNoSignature; private homeChannel; private server; constructor(config: SmsConfig); connect(): Promise; disconnect(): Promise; verifyTwilioSignature(url: string, params: Record, signature: string): boolean; handleInboundWebhook(params: Record, signature?: string, url?: string): Promise; private basicAuthHeader; private chunkContent; send(chatId: string, content: string, _replyTo?: string, _metadata?: Record): Promise; editMessage(_chatId: string, messageId: string, _content: string, _finalize?: boolean): Promise; sendTyping(_chatId: string, _metadata?: Record): Promise; stopTyping(_chatId: string): Promise; sendImage(chatId: string, imageUrl: string, caption?: string, _replyTo?: string, _metadata?: Record): Promise; sendAnimation(chatId: string, animationUrl: string, caption?: string, replyTo?: string, metadata?: Record): Promise; getChatInfo(chatId: string): Promise>; get homePhoneNumber(): string; onProcessingComplete(_event: MessageEvent, _outcome: ProcessingOutcome): void; } export { MAX_SMS_LENGTH, redactPhone }; //# sourceMappingURL=sms.d.ts.map