/**
 * Automation domain state — jobs, runs, and source registry.
 */
import type { AutomationJob } from '../../../automation/jobs.js';
import type { AutomationRun } from '../../../automation/runs.js';
import type { AutomationSourceRecord } from '../../../automation/sources.js';
export interface AutomationDomainState {
    readonly revision: number;
    readonly lastUpdatedAt: number;
    readonly source: string;
    readonly jobs: Map<string, AutomationJob>;
    readonly jobIds: string[];
    readonly runs: Map<string, AutomationRun>;
    readonly runIds: string[];
    readonly activeRunIds: string[];
    readonly failedRunIds: string[];
    readonly sources: Map<string, AutomationSourceRecord>;
    readonly sourceIds: string[];
    readonly totalJobs: number;
    readonly totalRuns: number;
    readonly totalSucceeded: number;
    readonly totalFailed: number;
    readonly totalCancelled: number;
    readonly totalDeadLettered: number;
}
export declare function createInitialAutomationState(): AutomationDomainState;
//# sourceMappingURL=automation.d.ts.map