import { IntegrationJobKey, IntegrationLogger } from '../types'; export declare const DEFAULT_JOB_EVENT_NAME = "error_executing"; export declare const DEFAULT_JOB_EVENT_DESCRIPTION = "An unexpected error occurred"; export declare const LOG_MESSAGE = "Integration execution error occurred and job event will be recorded"; /** * Delivers a job logEvent related to an error and logs the error in system * logs. * * @param logger configured already to include information about the job * execution, including the `accountId`, `integrationInstanceId`, and * `integrationJobId` (this should not add duplicates of those values) * @param jobKey used to send an event associated with the execution job * @param jobError an error generated during job execution */ export default function logJobErrorEvent(logger: IntegrationLogger, jobKey: IntegrationJobKey, jobError: Error): Promise;