import { RequestClient } from '@segment/actions-core';
import type { Settings } from '../../generated-types';
import DDApi from '../dd-api';
import { Contact, ChannelIdentifier } from '../types';
import type { Payload } from '../../addContactToList/generated-types';
declare class DDContactApi extends DDApi {
    constructor(settings: Settings, client: RequestClient);
    getContact(idType: string, idValue: string | undefined): Promise<Contact>;
    fetchOrCreateContact<T>(channelIdentifier: ChannelIdentifier, data: T): Promise<Contact>;
    upsertContact(payload: Payload): Promise<Contact>;
}
export default DDContactApi;
