import { IApiPayload, IApiSuccess, IDataFetcherResponse } from '../../../../../_common';
import { ITenantETLProcess, IEtlProcessesDataTableQuery } from './ETLProcesses.models';

export declare const etlProcessesApi: {
    /** List etl processes */
    getList(query?: IEtlProcessesDataTableQuery): Promise<IDataFetcherResponse<ITenantETLProcess>>;
    /** Controller Class that handles ETL processes */
    getETLProcessesBySource(query?: IEtlProcessesDataTableQuery & {
        source: number;
        status?: number;
    }): Promise<IDataFetcherResponse<ITenantETLProcess>>;
    /** retrieve an etl process */
    get(id: number): Promise<IApiPayload<ITenantETLProcess>>;
    /** Updates process status given process ID */
    retryProcess(id: number): Promise<IApiSuccess>;
};
