export declare type WhatsAppTemplateHeaderFormat = 'TEXT' | 'IMAGE' | 'VIDEO' | 'DOCUMENT' | 'LOCATION'; export declare type WhatsAppTemplateButton = { type: 'QUICK_REPLY' | 'URL' | 'PHONE_NUMBER' | 'COPY_CODE' | string; text?: string; url?: string; phone_number?: string; example?: string[]; }; export declare type WhatsAppTemplateComponent = { type: 'HEADER'; format?: WhatsAppTemplateHeaderFormat; text?: string; example?: Record; } | { type: 'BODY'; text: string; example?: Record; } | { type: 'FOOTER'; text: string; } | { type: 'BUTTONS'; buttons: WhatsAppTemplateButton[]; }; export interface WhatsAppMessageTemplate { id?: string; name: string; status: string; category: string; language: string; namespace?: string; components: WhatsAppTemplateComponent[]; parameter_format?: 'POSITIONAL' | 'NAMED'; } export interface TwilioContentTemplate { content_sid: string; friendly_name: string; language: string; category?: string; status: string; template_type?: string; media_type?: string; body: string; variables?: Record; types?: Record>; } export interface TwilioContentTemplates { templates?: TwilioContentTemplate[]; } export interface TemplateButtonParam { type: 'url' | 'copy_code'; parameter: string; url?: string; variables?: string[]; } export interface WhatsAppProcessedParams { body?: Record; header?: { [key: string]: string | undefined; media_url?: string; media_type?: string; media_name?: string; }; buttons?: TemplateButtonParam[]; } export declare type TwilioProcessedParams = Record; export declare type ProcessedParams = WhatsAppProcessedParams | TwilioProcessedParams;