export declare enum MessageTypes { TEXT = "text", INTERACTIVE = "interactive", LOCATION = "location" } /** * Represents the base input structure for a messaging system. * * This interface provides the necessary information required to * send a message, including the sender's phone ID, the recipient's * phone number, and the type of message being sent. * * @Interface * @property senderPhoneId - A string representing the unique ID of the sender's phone. * @property recipientNumber - A string representing the phone number of the recipient. * @property type - A value from the MessageTypes enum indicating the type of message. */ export interface BaseInput { senderPhoneId: string; recipientNumber: string; type: MessageTypes; } /** * Represents a base message object containing the essential * information needed for messaging. */ export default class BaseMessage { messaging_product: string; recipient_type: string; to: string; type: MessageTypes; /** * Constructs a new instance of the class, initializing it with the provided configuration. * * @param {BaseInput} config - The configuration object that contains initialization parameters. * @param {string} config.recipientNumber - The recipient's number, expected to begin with the country code. * @param {string} config.type - The type attribute to define what kind of instance is being created. */ constructor(config: BaseInput); }