A barrel export file that provides a centralized interface for importing AI enrichment components and their TypeScript type definitions. ## Key Components This index file exports six main AI enrichment components along with their corresponding TypeScript types: - **AIEnrichButton** - Interactive button component for triggering AI enrichment operations - **ConfidenceBadge** - Visual indicator showing AI confidence levels for data fields - **AIStatusIndicator** - Component displaying current AI processing status with type `AIStatus` - **AIWarningsSection** - Section component for displaying AI-generated warnings or alerts - **AIEnrichSection** - Main section component handling AI enrichment with `ConfidenceField` and `AIRequiredField` types - **AIRequiredBadge** - Badge component indicating fields that require AI processing ## Usage Example ```typescript import { AIEnrichButton, ConfidenceBadge, AIStatusIndicator, AIEnrichSection, type AIStatus, type ConfidenceField } from './ai-enrich-components' // Use the components in your React application const MyComponent = () => { const status: AIStatus = 'processing' const field: ConfidenceField = { value: 'data', confidence: 0.95 } return (
console.log('Enriching...')} />
) } ``` This barrel export pattern simplifies imports and provides a clean public API for the AI enrichment component library.