export type ScheduleType = "fix" | "audit" | "doctor-fix";
export interface LocalCronResult {
    success: boolean;
    error?: string;
    windowsFallback?: boolean;
    command?: string;
}
export declare const SCHEDULE_MARKERS: {
    readonly fix: "# kastell-fix-schedule";
    readonly audit: "# kastell-audit-schedule";
    readonly "doctor-fix": "# kastell-doctor-fix-schedule";
};
export declare function scheduleKey(server: string, type: ScheduleType): string;
export declare function parseScheduleKey(key: string): {
    server: string;
    type: ScheduleType;
} | null;
export declare function sanitizeServerName(name: string): string;
export declare function resolveKastellBin(): string;
export declare function installLocalCron(cronExpr: string, serverName: string, type: ScheduleType): LocalCronResult;
export declare function removeLocalCron(serverName: string, type: ScheduleType): LocalCronResult;
export declare function listLocalCron(serverFilter?: string): Array<{
    server: string;
    type: ScheduleType;
    cronExpr: string;
}>;
export declare function writeScheduleLog(type: ScheduleType, serverName: string, result: {
    applied: number;
    failed: number;
    scoreBefore?: number;
    scoreAfter?: number;
}): void;
export declare function cleanOldScheduleLogs(): void;
//# sourceMappingURL=scheduleManager.d.ts.map