import Crowdin from '@crowdin/crowdin-api-client';
import { Response } from 'express';
import { Config } from '../../../types';
import { JobClient, JobClientType, JobStoreType, JobType } from './types';
export declare function runAsJob({ integrationId, crowdinId, type, title, payload, res, projectId, client, jobType, jobStoreType, responseData, jobCallback, onError, reRunJobId, forcePushTranslations, initiatedBy, }: {
    integrationId: string;
    crowdinId: string;
    type: JobType;
    title?: string;
    payload?: any;
    res?: Response;
    projectId: number;
    client: Crowdin;
    jobType: JobClientType;
    jobStoreType: JobStoreType;
    responseData?: Record<string, any>;
    jobCallback: (arg1: JobClient) => Promise<any>;
    onError?: (e: any, job: JobClient) => Promise<void>;
    reRunJobId?: string;
    forcePushTranslations?: boolean;
    initiatedBy?: string;
}): Promise<void>;
export declare function reRunInProgressJobs(config: Config): Promise<void>;
