import type { JobConfig } from '@rangka/shared'; import type { RegisteredJob } from './types.js'; /** * Stores and validates background job definitions. * Jobs can be one-off or scheduled via cron expressions. */ export declare class JobRegistry { private readonly jobs; /** Register a new job after validating its configuration. */ register(name: string, config: JobConfig): void; get(name: string): RegisteredJob | undefined; has(name: string): boolean; getAll(): RegisteredJob[]; /** Return only jobs that have a cron schedule defined. */ getScheduled(): RegisteredJob[]; /** Validate job name and config, returning a list of human-readable errors. */ private validate; private validateConcurrency; private validateRetries; private validateBackoff; private validateSchedule; } //# sourceMappingURL=registry.d.ts.map