import { ActionDefinition } from '@segment/actions-core';
import type { Settings } from '../generated-types';
import type { Payload } from './generated-types';
interface ContactSuccessResponse {
    id: string;
    properties: Record<string, string | null>;
}
interface ContactErrorResponse {
    status: string;
    category: string;
    message: string;
    context: {
        ids: string[];
        [key: string]: unknown;
    };
}
export interface ContactBatchResponse {
    status: string;
    results: ContactSuccessResponse[];
    numErrors?: number;
    errors?: ContactErrorResponse[];
}
export interface BatchContactResponse {
    data: ContactBatchResponse;
}
declare const action: ActionDefinition<Settings, Payload>;
export default action;
