import { BaseClient, BaseClientConfig } from "@supermercadoscaetano/clients"; import { SendpulseClientConfig } from "./config"; export type SendpulseTelegramContactTextMessage = { contact_id: string; message: { type: 'text'; text: string; parse_mode: 'html'; }; }; export type SendpulseTelegramContactSetVariable = { contact_id: string; variable_name: string; variable_value?: string | number | boolean; }; export type SendpulseMessageResponse = { success: boolean; data?: any | any[] | boolean; }; export declare class SendpulseClient extends BaseClient { protected currentToken?: string; protected currentExpiry?: number; translateConfig(config?: SendpulseClientConfig): BaseClientConfig | undefined; protected refreshAccessToken(): Promise<{ token: any; expiry: number; }>; constructor(config?: SendpulseClientConfig); protected getData(): Promise<{ token?: string; expiry?: number; }>; protected saveData(token?: string, expiry?: number): Promise; static create(config?: SendpulseClientConfig): SendpulseClient; sendTelegramContactTextMessage(message: SendpulseTelegramContactTextMessage): Promise; setTelegramContactVariable(message: SendpulseTelegramContactSetVariable): Promise; } //# sourceMappingURL=sendpulseclient.d.ts.map