import { type H3Event } from "h3"; import type { TriggerFrontmatter } from "./types.js"; export interface AutomationRouteItem { id: string; name: string; path: string; owner: string; canUpdate: boolean; triggerType: TriggerFrontmatter["triggerType"]; event?: string; schedule?: string; scheduleDescription?: string; condition?: string; mode: TriggerFrontmatter["mode"]; domain?: string; enabled: boolean; lastStatus?: TriggerFrontmatter["lastStatus"]; lastRun?: string; lastError?: string; nextRun?: string; createdBy?: string; body: string; } interface SetAutomationEnabledInput { owner?: string; path?: string; name?: string; enabled: boolean; } export declare function listAutomationsForOwner(event: H3Event, userEmail: string): Promise; export declare function setAutomationEnabledForOwner(event: H3Event, userEmail: string, input: SetAutomationEnabledInput): Promise; export declare function createAutomationsHandler(): import("h3").EventHandlerWithFetch>; export {}; //# sourceMappingURL=routes.d.ts.map