import { Backend } from '@sidequest/backend';

/**
 * Finds and releases stale jobs, making them available for processing again.
 * @param backend The backend instance to operate on.
 * @param maxStaleMs Maximum age of a job to be considered stale.
 * @param maxClaimedMs Maximum age of a claimed job to be considered stale.
 * @returns A promise that resolves when the operation is complete.
 */
declare function releaseStaleJobs(backend: Backend, maxStaleMs: number, maxClaimedMs: number): Promise<void>;

export { releaseStaleJobs };
