import type { Config } from '../types/index.js'; import type { TrackingData } from './types/index.js'; /** * Method responsible for posting a batch of data to /batch/trackings endpoint on * MKT API. * * @example * ``` * import \{ postBatchTrackings \} from '\@farfetch/blackout-client/omnitracking'; * * postBatchTrackings([ * \{ * event: 'GenericPageVisited', * correlationId: 'cc0dc41e-f058-40ec-a073-1fe3d56265bb', * tenantId: 16000, * clientId: 16000, * customerId: 'g_123', * parameters: \{\} * \} * ]); * * ``` * * @param data - Payload to be sent on the body of the post request. * @param config - Custom configurations to send to the client instance (axios). * * @returns Promise object. */ declare const postBatchTrackings: (data: Array, config?: Config) => Promise; export default postBatchTrackings;