import { DownloadContext } from '../context';
import { ILocker, ILogger } from '../utilities';
import { BackgroundJob } from './BackgroundJob';

export declare class LockBreaker extends BackgroundJob {
    private locker;
    static readonly type: string;
    constructor(locker: ILocker, logger: ILogger, context: DownloadContext);
    /**
     * Locked chunk can be stuck if site crashes
     * Manually unlock after X minutes to avoid stuck chunk
     *
     * */
    protected processInternal(_signal: AbortSignal): Promise<void>;
}
