import { ITaskRunnerResult } from '../ITaskRunnerResult'; import { StorageRef } from '../../storage/StorageRef'; import { LockFactory, Semaphore } from '@allgemein/base'; export declare class TasksStorageHelper { static semaphores: { [k: string]: Semaphore; }; static timeouts: { [k: string]: any; }; static getLockFactory(): LockFactory; /** * Can get results from local and remote worker processes and should save the statuses * * @param result * @param storageRef */ static save(result: ITaskRunnerResult, storageRef: StorageRef): Promise; /** * Can get results from local and remote worker processes and should save the statuses * * @param result * @param storageRef */ static saveEnvelopedInTimeout(result: ITaskRunnerResult, storageRef: StorageRef): void; static clearTimeout(id: string): void; static saveRunnerResults(taskRunnerResults: ITaskRunnerResult, storageRef: StorageRef): Promise; }