import { Response } from 'express'; import { NodeAPIRequest } from '../types/index.js'; export declare const DEFAULT_INTERVAL = 5; export declare const ALLOWED_INTERVALS: readonly [5, 10, 30, 60, 300, 1800]; export type Interval = (typeof ALLOWED_INTERVALS)[number]; export declare function validateInterval(value: number): value is Interval; export declare function parseInterval(req: NodeAPIRequest<{ jobId: string; }>, res: Response): Interval | null;