import type { CapabilityCatalogItem, EventSource } from "@opengeni/sdk"; import { type LogoTileSize } from "../../ui/logo-tile.js"; import { type EventSourceChoiceSubject } from "./event-source-model.js"; /** Resolves the brand logo for a source (a provider domain), when the host has one. */ export type EventSourceLogoResolver = (source: EventSourceLogoSubject) => string | null | undefined; export type EventSourceLogoSubject = Pick & Pick; /** * Logos from a capability catalog: the app's own logo for GitHub, Slack, * Gmail, Linear, Sentry and apps with a webhook preset such as Tailscale, and * the MCP server's logo for an MCP source. * Build it once per catalog. */ export declare function eventSourceLogoResolver(catalog: readonly Pick[], assetUrl: (logoAssetPath: string) => string | null | undefined): EventSourceLogoResolver; /** * The tile for a source: its app's logo when the host resolves one, a webhook * MCP or workspace glyph for those kinds, otherwise the app's monogram ("G" * for a GitHub source, whatever the source is named). */ export declare function EventSourceTile({ source, logo, size, className, }: { source: EventSourceLogoSubject; logo?: EventSourceLogoResolver | undefined; size?: LogoTileSize | undefined; className?: string | undefined; }): import("react").JSX.Element;