import type { ConfigManager } from '../config/manager.js';
import type { AutomationJob } from './jobs.js';
import type { CreateAutomationJobInput, UpdateAutomationJobInput } from './manager-runtime-helpers.js';
interface AutomationJobMutationContext {
    readonly configManager: ConfigManager;
    readonly jobs: Map<string, AutomationJob>;
    readonly saveJobs: () => Promise<void>;
    readonly scheduleJob: (job: AutomationJob) => void;
    readonly syncJobToRuntime: (job: AutomationJob, source: string) => void;
    readonly emitJobCreated: (job: AutomationJob) => void;
    readonly emitJobUpdated: (job: AutomationJob, changedFields: string[]) => void;
}
export declare function createAutomationJobRecord(context: AutomationJobMutationContext, input: CreateAutomationJobInput): Promise<AutomationJob>;
export declare function toggleAutomationJobEnabled(context: AutomationJobMutationContext, jobId: string, enabled: boolean): Promise<AutomationJob | null>;
export declare function updateAutomationJobRecord(context: AutomationJobMutationContext, jobId: string, patch: UpdateAutomationJobInput): Promise<AutomationJob | null>;
export {};
//# sourceMappingURL=manager-runtime-job-mutations.d.ts.map