import { SyncRun } from '@lxdhub/db';
import { Repository } from 'typeorm';
export declare class SyncRunService {
    private readonly syncRunRepository;
    constructor(syncRunRepository: Repository<SyncRun>);
    private findOne;
    createSyncRun(): Promise<SyncRun>;
    startSyncRun(id: number): Promise<SyncRun>;
    failSyncRun(id: number, message: string): Promise<SyncRun>;
    finishSyncRun(id: number): Promise<SyncRun>;
    resetAllSyncStates(): Promise<SyncRun[]>;
    getCurrentlyRunningSyncs(): Promise<SyncRun[]>;
}
