/** * Cron Manager - Native OS crontab manipulation * Zero dependencies - uses direct crontab binary commands * Unix/Linux/macOS only (Windows support via Task Scheduler would be separate) */ export interface CronEntry { id: string; cronExpression: string; command: string; comment?: string; } export declare class CronManager { private static readonly MARKER_PREFIX; private static readonly NCP_SECTION_START; private static readonly NCP_SECTION_END; constructor(); /** * Check if crontab command is available */ private isCrontabAvailable; /** * Get helpful error message when crontab is not available */ private getCrontabNotAvailableMessage; /** * Get current user's crontab */ private getCurrentCrontab; /** * Write crontab content */ private writeCrontab; /** * Parse NCP jobs from crontab */ private parseNCPJobs; /** * Parse a single cron line */ private parseCronLine; /** * Get non-NCP crontab entries */ private getNonNCPEntries; /** * Build NCP section content */ private buildNCPSection; /** * Add or update a cron job */ addJob(jobId: string, cronExpression: string, command: string): void; /** * Remove a cron job */ removeJob(jobId: string): void; /** * Get all NCP jobs from crontab */ getJobs(): CronEntry[]; /** * Get a specific job */ getJob(jobId: string): CronEntry | null; /** * Check if a job exists in crontab */ hasJob(jobId: string): boolean; /** * Remove all NCP jobs from crontab */ removeAllJobs(): void; /** * Validate cron expression format */ static validateCronExpression(expression: string): { valid: boolean; error?: string; }; } //# sourceMappingURL=cron-manager.d.ts.map