/** * What an automation listens for, read-only: one line per trigger with its * source's logo, the events, where they come from and only-when conditions, * and why a trigger is held back when it is. */ import type { MouseEvent } from "react"; import type { EventSource, EventTrigger } from "@opengeni/sdk"; import { type EventSourceLogoResolver } from "./event-source-tile.js"; export interface EventTriggerSummaryProps { triggers: readonly EventTrigger[]; /** The sources the viewer can see; a trigger on any other reads as hidden. */ sources: readonly EventSource[] | undefined; sourceLogo?: EventSourceLogoResolver | undefined; /** A link to a source's page, when the host has one. */ sourceHref?: ((sourceId: string) => string) | undefined; /** In-app navigation for that link; a plain link without it. */ onOpenSource?: ((sourceId: string, event: MouseEvent) => void) | undefined; } export declare function EventTriggerSummary({ triggers, sources, sourceLogo, sourceHref, onOpenSource, }: EventTriggerSummaryProps): import("react").JSX.Element;