import { type AutomationSummary } from "./impl/automationSummary.js"; import { type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Persists an administrator-validated automations definition with its trigger, action payload, and initial scheduling state. * Publishing the definition with audit and sync evidence ensures runners never execute an automation clients cannot attribute or inspect. */ export declare function automationCreate(executor: DrizzleExecutor, input: { actorUserId: string; name: string; chatId?: string; botId?: string; triggerType: "schedule" | "event" | "webhook"; triggerConfig: Record; actionType: "send_message" | "call_webhook" | "moderate"; actionConfig: Record; timezone?: string; nextRunAt?: string; }): Promise<{ automation: AutomationSummary; hint: MutationHint; webhookToken?: string; }>; //# sourceMappingURL=automationCreate.d.ts.map