import { RequestClient, MultiStatusResponse, ModifiedResponse } from '@segment/actions-core';
import type { Settings } from '../generated-types';
import type { EventData, ConsentData, RegionValue, ImportConversionEventsResponse } from '../types';
import type { Payload } from './generated-types';
export declare function hasStringValue(value: string | null | undefined): boolean;
export declare function validateConsent(consent: Payload['consent'], region: RegionValue): ConsentData | undefined;
export declare function normalize(value: string, allowedChars: RegExp, trim?: boolean): string;
export declare function normalizeEmail(email: string): string;
export declare function normalizePhone(phone: string): string;
export declare function normalizeStandard(value: string): string;
export declare function normalizePostal(postal: string): string;
export declare function smartHash(value: string, normalizeFunction?: (value: string) => string): string;
export declare function sendEventsRequest<ImportConversionEventsResponse>(request: RequestClient, settings: Settings, eventData: EventData | EventData[]): Promise<ModifiedResponse<ImportConversionEventsResponse>>;
export declare function validateCountryCode(input: string): string;
export declare function handleResponse(response: ModifiedResponse<ImportConversionEventsResponse>): ModifiedResponse<ImportConversionEventsResponse>;
export declare function handleBatchResponse(response: ModifiedResponse<ImportConversionEventsResponse>, validPayloads: EventData[], validPayloadIndicesBitmap: number[], multiStatusResponse: MultiStatusResponse): MultiStatusResponse;
export declare function prepareEventData(payload: Payload, settings: Settings): EventData;
