/**
 * Automation emitters — typed wrappers for AutomationEvent domain.
 */
import type { RuntimeEventBus } from '../events/index.js';
import type { EmitterContext } from './index.js';
export declare function emitAutomationJobCreated(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    name: string;
    scheduleKind: 'at' | 'every' | 'cron';
    enabled: boolean;
}): void;
export declare function emitAutomationJobUpdated(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    changedFields: string[];
}): void;
export declare function emitAutomationJobEnabled(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
}): void;
export declare function emitAutomationJobDisabled(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    reason: string;
}): void;
export declare function emitAutomationRunQueued(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    runId: string;
    scheduledAt: number;
    forced: boolean;
}): void;
export declare function emitAutomationRunStarted(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    runId: string;
    startedAt: number;
    attempt: number;
}): void;
export declare function emitAutomationRunCompleted(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    runId: string;
    startedAt: number;
    completedAt: number;
    durationMs: number;
    outcome: 'success' | 'partial' | 'failed' | 'cancelled';
}): void;
export declare function emitAutomationRunFailed(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    runId: string;
    startedAt: number;
    failedAt: number;
    error: string;
    retryable: boolean;
}): void;
export declare function emitAutomationRunCancelled(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    runId: string;
    cancelledAt: number;
    reason: string;
}): void;
export declare function emitAutomationScheduleError(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    scheduleText: string;
    error: string;
}): void;
export declare function emitAutomationJobAutoDisabled(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    jobId: string;
    reason: string;
    consecutiveFailures: number;
}): void;
//# sourceMappingURL=automation.d.ts.map