export interface Payload {
    send?: boolean;
    traitEnrichment?: boolean;
    userId?: string;
    toEmail?: string;
    fromDomain?: string | null;
    fromEmail: string;
    fromName: string;
    replyToEqualsFrom?: boolean;
    replyToEmail: string;
    replyToName: string;
    bcc: string;
    previewText?: string;
    subject: string;
    body?: string;
    bodyUrl?: string;
    bodyType: string;
    bodyHtml?: string;
    groupId?: string;
    byPassSubscription?: boolean;
    ipPool?: string;
    sendBasedOnOptOut?: boolean;
    apiLookups?: {
        id?: string;
        name: string;
        url: string;
        method: string;
        cacheTtl: number;
        body?: string;
        headers?: {
            [k: string]: unknown;
        };
        responseType: string;
        shouldRetryOnRetryableError?: boolean;
    }[];
    segmentComputationId?: string;
    externalIds?: {
        id?: string;
        type?: string;
        subscriptionStatus?: string;
        unsubscribeLink?: string;
        preferencesLink?: string;
        groups?: {
            id?: string;
            isSubscribed?: boolean;
            groupUnsubscribeLink?: string;
        }[];
    }[];
    customArgs?: {
        [k: string]: unknown;
    };
    traits?: {
        [k: string]: unknown;
    };
    eventOccurredTS?: string;
}
