import type { ToolWidgetStatus } from './toolWidgetUtils'; /** * Pure logic for the automation tool widgets (list_automations, * create_automation, manage_automation) — the superagent subset of the web * builder's AutomationToolUI factory + CreateAutomationWidget * (frontend/apps/builder/.../tools-ui/Components/AutomationToolUI.tsx, * CreateAutomationWidget.tsx, utils/automationUtils.ts). */ export type AutomationAction = 'create' | 'update' | 'delete' | 'toggle' | 'list' | 'archive' | 'unarchive'; export type AutomationType = 'scheduled' | 'entity' | 'connector'; /** The web reads the action from args first (manage_automation), then the tool name. */ export declare function getAutomationAction(toolName: string, args: Record | null): AutomationAction; export declare function getAutomationType(args: Record | null): AutomationType | null; export type AutomationRowInfo = { title: string; chipText: string | null; type: AutomationType | null; }; /** Header line + name chip for the slim automation row, mirroring the web verb/label/chip. */ export declare function getAutomationRowInfo(toolName: string, args: Record | null, status: ToolWidgetStatus): AutomationRowInfo; export declare function describeTrigger(args: Record | null): string | null; //# sourceMappingURL=automationWidgetUtils.d.ts.map