import type { Pool } from 'pg';
export interface ScheduledJobSpec {
    name: string;
    pattern: string;
    path: string;
    secretName: 'BACKUP_CRON_SECRET' | 'RENOVACOES_CRON_SECRET' | 'VD_PENDENCIAS_CRON_SECRET';
    secretHeader: string;
}
type AppRequest = (path: string, init: RequestInit) => Response | Promise<Response>;
export declare const scheduledJobSpecs: readonly ScheduledJobSpec[];
export declare function executeScheduledJob(pool: Pool, spec: ScheduledJobSpec, request: AppRequest): Promise<void>;
export interface LocalScheduler {
    stop(): void;
}
export interface SchedulerOptions {
    enabled: boolean;
    timezone: string;
}
export declare function startScheduler(request: AppRequest, pool: Pool, options: SchedulerOptions): LocalScheduler;
export {};
//# sourceMappingURL=scheduler.d.ts.map