import { InputField, RequestClient } from '@segment/actions-core';
import { Payload } from './updateUserProfile/generated-types';
import { Settings } from './generated-types';
export declare const customFields: InputField;
export interface CustomField {
    id: string;
    name: string;
}
export declare const GLOBAL_ENDPOINT = "https://api.sendgrid.com";
export declare const EU_ENDPOINT = "https://api.eu.sendgrid.com";
export declare function getRegionalEndpoint(settings: Settings): string;
export declare const fetchAccountCustomFields: (request: RequestClient, settings: Settings) => Promise<CustomField[]>;
export declare const tranformValueToAcceptedDataType: (value: any) => any;
export declare const validatePayload: (payload: Payload) => void;
export declare const convertPayload: (payload: Payload, accountCustomFields: CustomField[]) => {
    state_province_region: string | null | undefined;
    email: string | null | undefined;
    custom_fields: any;
    first_name?: string | null;
    last_name?: string | null;
    country?: string | null;
    postal_code?: string | null;
    city?: string | null;
    address_line_1?: string | null;
    address_line_2?: string | null;
    phone_number?: string | null;
    whatsapp?: string | null;
    line?: string | null;
    facebook?: string | null;
    unique_name?: string | null;
    phone_number_id?: string | null;
    external_id?: string | null;
    anonymous_id?: string | null;
};
