import type { FORM_SUBMITTED_WEBHOOK_RESPONSES } from '../../../../../../app-store/routing-forms/lib/formSubmissionUtils';
import type { Dayjs } from '../../../../../../dayjs';
import { TimeFormat } from '../../../../../../lib/timeFormat';
import type { CalEventResponses } from "@calcom/types/Calendar";
export type WorkflowVariableResponses = Record<string, {
    value: string | number | boolean | string[] | Record<string, string> | {
        value: string;
        optionValue: string;
    };
}>;
export declare function transformBookingResponsesToVariableFormat(responses: CalEventResponses | null | undefined): WorkflowVariableResponses | null;
export declare function transformRoutingFormResponsesToVariableFormat(responses: FORM_SUBMITTED_WEBHOOK_RESPONSES | null | undefined): WorkflowVariableResponses | null;
export declare function formatIdentifierToVariable(key: string): string;
export type VariablesType = {
    eventName?: string;
    organizerName?: string;
    attendeeName?: string;
    attendeeFirstName?: string;
    attendeeLastName?: string;
    attendeeEmail?: string;
    eventDate?: Dayjs;
    eventEndTime?: Dayjs;
    timeZone?: string;
    location?: string | null;
    additionalNotes?: string | null;
    responses?: WorkflowVariableResponses | null;
    meetingUrl?: string;
    cancelLink?: string;
    cancelReason?: string | null;
    rescheduleLink?: string;
    rescheduleReason?: string | null;
    ratingUrl?: string;
    noShowUrl?: string;
    attendeeTimezone?: string;
    eventTimeInAttendeeTimezone?: Dayjs;
    eventEndTimeInAttendeeTimezone?: Dayjs;
};
declare const customTemplate: (text: string, variables: VariablesType, locale: string, timeFormat?: TimeFormat, isBrandingDisabled?: boolean) => {
    text: string;
    html: string;
};
export default customTemplate;
//# sourceMappingURL=customTemplate.d.ts.map