import { StatusResolution, EvaluateAndUpdateReportStatusOptions, ExpireFinishedReportsOptions } from './types';
import { StoredReportData, RequestedReport } from '../../types/UserReports';
/**
 * Ensures the stored report status is correct.
 */
export declare function evaluateAndUpdateReportStatus({ stored, services, token, res, }: EvaluateAndUpdateReportStatusOptions): Promise<{
    resolution: StatusResolution;
    updated?: RequestedReport;
}>;
/**
 * Checks the expired status of reports and updates the state
 *
 * @export
 * @param {ExpireFinishedReportsOptions} {
 *   reports,
 *   services,
 *   token,
 *   res,
 * }
 * @return {*}  {Promise<StoredReportData[]>}
 */
export declare function expireFinishedReports({ requestedReports, recentlyViewedReports, services, res, }: ExpireFinishedReportsOptions): Promise<{
    requestedReports: RequestedReport[];
    recentlyViewedReports: StoredReportData[];
}>;
/**
 * Checks if the expiry check should run
 *
 * @export
 * @param {*} session
 * @return {*}  {boolean}
 */
export declare function shouldRunExpiryCheck(session: {
    lastExpiredReportsCheckAt?: number;
}): boolean;
export declare function recordExpiryCheck(session: {
    lastExpiredReportsCheckAt?: number;
}): void;
