import { type AutomationSummary } from "./impl/automationSummary.js"; import { type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Replaces the mutable trigger and action configuration of an existing automations row after administrator validation. * Recomputing schedule state with its sync and audit records keeps runners from mixing an old due time with a new definition. */ export declare function automationUpdate(executor: DrizzleExecutor, input: { actorUserId: string; automationId: string; active?: boolean; name?: string; triggerConfig?: Record; actionConfig?: Record; nextRunAt?: string | null; }): Promise<{ automation: AutomationSummary; hint: MutationHint; }>; //# sourceMappingURL=automationUpdate.d.ts.map