/** * prefab — TypeScript declarative UI component library for MCP apps. * * Wire-compatible with the Python prefab-ui library. * Serializes to JSON component trees using the $prefab wire format. */ export { Component, ContainerComponent, StatefulComponent } from './core/index.js'; export type { ComponentJSON, ComponentProps, ContainerProps, StatefulProps, RxStr } from './core/index.js'; export { validateWireFormat, isValidWireFormat } from './core/validate.js'; export type { ValidationError, ValidationResult } from './core/validate.js'; export { PrefabApp, PROTOCOL_VERSION } from './app.js'; export type { PrefabAppOptions, PrefabWireFormat, Theme, LayoutHints, ColorMode } from './app.js'; export { compileThemeCss } from './core/theme-css.js'; export type { ThemeVars } from './core/theme-css.js'; export { Column, Row, Grid, GridItem, Container, Div, Span, Dashboard, DashboardItem, Pages, Page, Detail, MasterDetail } from './components/layout/index.js'; export type { DetailProps, MasterDetailProps } from './components/layout/index.js'; export { Heading, H1, H2, H3, H4, Text, P, Lead, Large, Small, Muted, BlockQuote, Label, Link, Code, Markdown, Kbd } from './components/typography/index.js'; export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from './components/card/index.js'; export { DataTable, col, Badge, Dot, Metric, Ring, Progress, Separator, Loader, Icon } from './components/data/index.js'; export type { DataTableColumnDef, DataTableProps, BadgeVariant, MetricProps } from './components/data/index.js'; export { Table, TableHead, TableBody, TableFooter, TableRow, TableHeader, TableCell, TableCaption, ExpandableRow } from './components/table/index.js'; export { Form, Input, Textarea, Button, ButtonGroup, Select, SelectOption, SelectGroup, SelectLabel, SelectSeparator, Checkbox, Switch, Slider, Radio, RadioGroup, Combobox, ComboboxOption, ComboboxGroup, ComboboxLabel, ComboboxSeparator, Calendar, DatePicker, Field, FieldTitle, FieldDescription, FieldContent, FieldError, ChoiceCard, } from './components/form/index.js'; export type { FormProps, InputProps, ButtonVariant, ButtonSize } from './components/form/index.js'; export { Tabs, Tab, Accordion, AccordionItem, Dialog, Popover, Tooltip, HoverCard, Carousel } from './components/interactive/index.js'; export { ForEach, If, Elif, Else, Define, Use, Slot } from './components/control/index.js'; export { Alert, AlertTitle, AlertDescription } from './components/alert/index.js'; export { Image, Audio, Video, Embed, Svg, DropZone, Mermaid } from './components/media/index.js'; export { PdfViewer } from './components/pdf/index.js'; export type { PdfViewerProps, PdfZoom } from './components/pdf/index.js'; export { BarChart, LineChart, AreaChart, PieChart, RadarChart, ScatterChart, Sparkline, RadialChart, Histogram } from './components/charts/index.js'; export type { ChartSeries, BaseChartProps, BarChartProps, CategoricalChartProps, PieChartProps, ScatterChartProps, RadarChartProps, SparklineProps, RadialChartProps, HistogramProps } from './components/charts/index.js'; export { autoDetail, autoTable, statusVariant, registerStatusVariants } from './auto/index.js'; export { autoChart } from './auto/chart.js'; export { autoForm } from './auto/form.js'; export { autoComparison } from './auto/comparison.js'; export { autoMetrics } from './auto/metrics.js'; export { autoTimeline } from './auto/timeline.js'; export { autoProgress } from './auto/progress.js'; export type { AutoDetailOptions, AutoTableOptions } from './auto/index.js'; export type { AutoChartOptions, ChartType } from './auto/chart.js'; export type { AutoFormField, AutoFormOptions } from './auto/form.js'; export type { AutoComparisonOptions } from './auto/comparison.js'; export type { AutoMetricDef, AutoMetricsOptions } from './auto/metrics.js'; export type { AutoTimelineEvent, AutoTimelineOptions } from './auto/timeline.js'; export type { AutoProgressStep, AutoProgressOptions } from './auto/progress.js'; export { display, display_form, display_update, display_error, display_success, displayForm, displayUpdate, displayError, displaySuccess, resourceMeta, PREFAB_CDN_META, PREFAB_RESOURCE_URI, rendererHtml, registerViewerResource } from './mcp/display.js'; export type { DisplayOptions, DisplayFormOptions, DisplayUpdateOptions, DisplayErrorOptions, DisplaySuccessOptions, StateUpdate, PrefabUpdateWire, McpAppCsp, McpAppPermissions, ResourceMetaOptions, RendererHtmlOptions, ViewerResourceOptions } from './mcp/display.js'; export type { McpToolResult, McpContent, McpTextContent } from './mcp/types.js'; export { rx, Rx, ITEM, INDEX, EVENT, ERROR, RESULT, STATE, signal, Signal, collection, Collection, Ref, registerPipe, unregisterPipe, listPipes, resetAutoState } from './rx/index.js'; export type { SignalValue, SignalOptions, PipeFn } from './rx/index.js'; export { SetState, ToggleState, AppendState, PopState, ShowToast, CloseOverlay, OpenLink, SetInterval, Fetch, OpenFilePicker, CallHandler } from './actions/client.js'; export { CallTool, SendMessage, UpdateContext, RequestDisplayMode } from './actions/mcp.js'; export { Subscribe, Unsubscribe } from './actions/subscribe.js'; export type { SubscribeOpts } from './actions/subscribe.js'; export { set, toggle, append, pop } from './actions/sugar.js'; export type { StateTarget } from './actions/sugar.js'; export type { Action, ActionJSON } from './actions/types.js'; //# sourceMappingURL=index.d.ts.map