import { InputField } from '@segment/actions-core';
import { Address, Constituent, ConstituentAction, Gift, OnlinePresence, Phone, StringIndexedObject } from '../types';
import { Payload as CreateConstituentAction } from '../createConstituentAction/generated-types';
import { Payload as CreateGiftPayload } from '../createGift/generated-types';
import { Payload as CreateOrUpdateIndividualConstituentPayload } from '../createOrUpdateIndividualConstituent/generated-types';
export declare const dateStringToFuzzyDate: (dateString: string | number) => false | {
    d: string;
    m: string;
    y: string;
};
export declare const augmentFieldsWithConstituentFields: (fields: Record<string, InputField>) => Record<string, InputField>;
export declare const splitConstituentPayload: (payload: CreateOrUpdateIndividualConstituentPayload) => (Partial<Constituent> | Partial<Address> | Partial<OnlinePresence> | Partial<Phone>)[];
export declare const buildConstituentPayloadFromPayload: (payload: StringIndexedObject) => Partial<CreateOrUpdateIndividualConstituentPayload>;
export declare const buildGiftDataFromPayload: (constituentId: string, payload: CreateGiftPayload) => Partial<Gift>;
export declare const buildConstituentActionDataFromPayload: (constituentId: string, payload: CreateConstituentAction) => Partial<ConstituentAction>;
export declare const filterObjectListByMatchFields: (list: StringIndexedObject[], data: StringIndexedObject, matchFields: string[]) => StringIndexedObject | undefined;
export declare const isRequestErrorRetryable: (statusCode: number) => boolean;
