import type { OpenGeniClient } from "@opengeni/sdk"; import { type AutomationTemplate } from "./automation-template-model.js"; import { type AutomationEventServer } from "./event-source-stand-ins.js"; import type { EventSourceLogoResolver } from "./event-source-tile.js"; export interface AutomationsPanelProps { client: OpenGeniClient; workspaceId: string; /** * Scope it to one chat: that chat's automations, and new ones continue it. * Without it: the workspace's automations, and new ones start a new chat * each run. */ sessionId?: string | undefined; /** Null omits the heading when the host already supplies one. */ title?: string | null | undefined; /** Offer event triggers. Default: whenever this server runs them. */ eventTriggers?: boolean | undefined; /** * MCP servers to offer by name, such as the host's own. Servers the person * is signed in to that offer events, and their Gmail accounts, are offered * without this. The person's source for one is added the first time they * pick it. */ eventServers?: readonly AutomationEventServer[] | undefined; /** * Offer this workspace's own events, such as a meeting's transcript being * ready. The person's source for them is added the first time they pick it. * Default false. */ workspaceEvents?: boolean | undefined; /** Arguments new MCP subscriptions start with, such as `{ projectId }`. */ argumentDefaults?: Readonly> | undefined; /** * Templates a new automation can start from, such as some of * `builtinAutomationTemplates(t)` or the host's own. Default none. */ templates?: readonly AutomationTemplate[] | undefined; /** * Offer the templates people saved in this workspace, and saving an * automation as one. Default true. */ workspaceTemplates?: boolean | undefined; /** Brand logos for event sources, from the host's connector catalog. */ sourceLogo?: EventSourceLogoResolver | undefined; /** Opens the chat a run happened in. Without it, runs don't link anywhere. */ onOpenSession?: ((sessionId: string) => void) | undefined; className?: string | undefined; } export declare function AutomationsPanel({ client, workspaceId, sessionId, title: titleProp, eventTriggers: eventTriggersProp, eventServers, workspaceEvents, argumentDefaults, templates: hostTemplates, workspaceTemplates, sourceLogo, onOpenSession, className, }: AutomationsPanelProps): import("react").JSX.Element;