import { type ReactNode } from "react"; import type { PluginDiscoveryItem, PluginDiscoveryPage } from "@opengeni/sdk"; export type PluginDiscoveryProps = { client: { discoverPlugins(workspaceId: string, options?: { query?: string; provider?: string; offset?: number; }): Promise; }; workspaceId: string; query: string; /** Initially selected registry. Users can still switch registries or browse all. */ defaultProvider?: "" | "openai" | "anthropic"; /** Discovery identities already installed in the current workspace. */ installedIds?: ReadonlySet; resultLimit?: number; onShowMore?: () => void; onOpen: (item: PluginDiscoveryItem) => void; /** Display name for a registry slug. Defaults to the slug with dashes as spaces. */ formatName?: (name: string) => string; /** The row tile. Defaults to the plugin logo with a glyph fallback. */ renderIcon?: (item: PluginDiscoveryItem) => ReactNode; }; export declare function PluginDiscovery(props: PluginDiscoveryProps): import("react").JSX.Element;