import { AutomationNormalizedEvent } from "@opengeni/contracts"; import { type AutomationSourceSecret } from "@opengeni/db"; import { type ApiRouteDeps } from "@opengeni/core"; import type { Hono } from "hono"; export declare function registerAutomationRoutes(app: Hono, deps: ApiRouteDeps): void; export declare function acceptAutomationEvent(deps: ApiRouteDeps, source: AutomationSourceSecret, input: { deliveryKey: string; requestDigest: string; normalizedEvent: AutomationNormalizedEvent; }): Promise<{ accepted: boolean; duplicate: boolean; ignoredReason: string | null; eventId: string | null; runIds: string[]; }>; export declare function readAutomationWebhookBody(request: Request, maxBytes: number): Promise;