import * as react_jsx_runtime from 'react/jsx-runtime'; import React__default from 'react'; type AiBuilderAgentItem = { id: string; title: string; description: string; tags: string[]; isEnabled: boolean; slug?: string; infoBadge?: string; isComingSoon?: boolean; }; type AiBuilderServiceType = "email" | "app"; type AiBuilderEmailCategories = { /** All available categories for this provider. */ available: string[]; /** Currently selected categories. */ selected: string[]; onChange: (categories: string[]) => void; }; type AiBuilderServiceData = { accountIdentifier: string; accountIdentifierLabel: string; connectedOn: string; lastSynced: string; permissions: string[]; syncLabel: string; syncDescription: string; syncEnabled: boolean; onSyncToggle: (enabled: boolean) => void; /** When set, renders an "Email Filters" section with per-category checkboxes. */ emailCategories?: AiBuilderEmailCategories; }; type AiBuilderAgentTone = "Professional" | "Friendly" | "Enthusiastic"; type AiBuilderAgentLanguage = "American English" | "Australian English"; type AiBuilderAgentConfig = { name: string; businessDescription: string; }; type AiBuilderAgentGeneralSettings = { autoResponse: boolean; tone: AiBuilderAgentTone; language: AiBuilderAgentLanguage; }; type AiBuilderResponseTemplate = { channel: "email" | "chat"; isEnabled: boolean; content: string; }; type AiBuilderRuleItem = { id: string; text: string; isEnabled: boolean; }; type AgentCardProps = { agent: AiBuilderAgentItem; /** Brand icon shown before the title (e.g. a platform connector's logo). */ iconNode?: React__default.ReactNode; onToggle: (agentId: string, enabled: boolean) => void; onMenuClick: (agentId: string) => void; className?: string; }; declare function AgentCard({ agent, iconNode, onToggle, onMenuClick, className, }: AgentCardProps): react_jsx_runtime.JSX.Element; type AgentMenuModalProps = { open: boolean; onOpenChange: (open: boolean) => void; agentTitle: string; /** * Agent-specific description. Callers should look this up from a * slug-keyed content map and fall back to the agent's own backend * description when no authored entry exists — never a shared generic * default (see agent-card.md changelog, BUILD-2354). */ description?: string; /** Capability bullets. Omit (or pass an empty array) when no authored content exists. */ features?: Array<{ title: string; description: string; }>; /** Short "for example" scenario illustrating what the agent does. */ example?: string; /** Data sources / fields this agent reads or writes. */ dataTouched?: string[]; }; declare function AgentMenuModal({ open, onOpenChange, agentTitle, description, features, example, dataTouched, }: AgentMenuModalProps): react_jsx_runtime.JSX.Element; type AgentCategorySectionProps = { title: string; description?: string; count?: number; children: React__default.ReactNode; className?: string; }; declare function AgentCategorySection({ title, description, count, children, className, }: AgentCategorySectionProps): react_jsx_runtime.JSX.Element; type IntegrationServiceCardProps = { title: string; imageUrl?: string; iconNode?: React__default.ReactNode; description: string; isConnected: boolean; /** Not yet available — shows a "Coming Soon" badge and disables the * connect click-through. */ isComingSoon?: boolean; onCardClick: () => void; onSettingsClick: () => void; className?: string; }; declare function IntegrationServiceCard({ title, imageUrl, iconNode, description, isConnected, isComingSoon, onCardClick, onSettingsClick, className, }: IntegrationServiceCardProps): react_jsx_runtime.JSX.Element; type IntegrationInstructionCardProps = { title: string; codeBlock: string; onCopy?: () => void; className?: string; }; declare function IntegrationInstructionCard({ title, codeBlock, onCopy, className, }: IntegrationInstructionCardProps): react_jsx_runtime.JSX.Element; type ServiceCredentialField = { id: string; label: string; value: string; onChange: (value: string) => void; placeholder?: string; /** Input type, e.g. "password" for secrets. Defaults to "text". */ type?: string; }; type ServiceConfigurationModalProps = { open: boolean; onOpenChange: (open: boolean) => void; serviceTitle: string; isConnected: boolean; serviceData?: AiBuilderServiceData; /** Brand icon node shown in the not-connected centered layout */ iconNode?: React__default.ReactNode; /** Permissions shown in the not-connected state */ connectPermissions?: string[]; /** Subtitle shown below the service name in the not-connected state */ connectDescription?: string; /** Connection detail inputs shown in the not-connected state (e.g. API * keys) — the service connects with these instead of an OAuth flow. */ credentialFields?: ServiceCredentialField[]; /** Status line shown in the connected state's success banner. */ connectedStatusLabel?: string; /** Label for the connect button in the not-connected state. */ connectLabel?: string; /** Connection-test progress shown above the footer in the not-connected * state — drives a spinner (testing), green tick (success) or red error * line. The caller owns the test itself. */ connectStatus?: "idle" | "testing" | "success" | "error"; connectStatusMessage?: string; onConnect: () => void; onDisconnect: () => void; onReconnect: () => void; }; declare function ServiceConfigurationModal({ open, onOpenChange, serviceTitle, isConnected, serviceData, iconNode, connectPermissions, connectDescription, credentialFields, connectedStatusLabel, connectLabel, connectStatus, connectStatusMessage, onConnect, onDisconnect, onReconnect, }: ServiceConfigurationModalProps): react_jsx_runtime.JSX.Element; export { AgentCard as A, IntegrationInstructionCard as I, ServiceConfigurationModal as S, type AgentCardProps as a, AgentCategorySection as b, type AgentCategorySectionProps as c, AgentMenuModal as d, type AgentMenuModalProps as e, type AiBuilderAgentItem as f, type AiBuilderEmailCategories as g, type AiBuilderServiceData as h, type AiBuilderServiceType as i, type IntegrationInstructionCardProps as j, IntegrationServiceCard as k, type IntegrationServiceCardProps as l, type ServiceConfigurationModalProps as m, type ServiceCredentialField as n, type AiBuilderRuleItem as o, type AiBuilderAgentConfig as p, type AiBuilderAgentGeneralSettings as q, type AiBuilderAgentLanguage as r, type AiBuilderAgentTone as s, type AiBuilderResponseTemplate as t };