import type { NextRequest } from "next/server";
export declare const sendSMS: ({ phoneNumber, body, sender, bookingUid, userId, teamId, isWhatsapp, contentSid, contentVariables, }: {
    phoneNumber: string;
    body: string;
    sender: string;
    bookingUid?: string | null;
    userId?: number | null;
    teamId?: number | null;
    isWhatsapp?: boolean;
    contentSid?: string;
    contentVariables?: Record<string, string>;
}) => Promise<import("twilio/lib/rest/api/v2010/account/message").MessageInstance | undefined>;
export declare const scheduleSMS: ({ phoneNumber, body, scheduledDate, sender, bookingUid, userId, teamId, isWhatsapp, contentSid, contentVariables, }: {
    phoneNumber: string;
    body: string;
    scheduledDate: Date;
    sender: string;
    bookingUid?: string | null;
    userId?: number | null;
    teamId?: number | null;
    isWhatsapp?: boolean;
    contentSid?: string;
    contentVariables?: Record<string, string>;
}) => Promise<import("twilio/lib/rest/api/v2010/account/message").MessageInstance | {
    sid: string;
} | undefined>;
export declare const cancelSMS: (referenceId: string) => Promise<void>;
export declare const sendVerificationCode: (phoneNumber: string) => Promise<void>;
export declare const verifyNumber: (phoneNumber: string, code: string) => Promise<string | undefined>;
export declare const getMessageBody: (referenceId: string) => Promise<string>;
export declare function getCountryCodeForNumber(phoneNumber: string): Promise<string>;
export declare function getMessageInfo(smsSid: string): Promise<{
    price: number | null;
    numSegments: number | null;
}>;
export declare function validateWebhookRequest({ requestUrl, params, signature, }: {
    requestUrl: string;
    params: object;
    signature: string;
}): Promise<boolean>;
export declare function determineOptOutType(req: NextRequest): Promise<{
    phoneNumber: string;
    optOutStatus: boolean;
} | {
    error: string;
}>;
export declare function deleteMultipleScheduledSMS(referenceIds: string[]): Promise<void>;
//# sourceMappingURL=twilioProvider.d.ts.map