/** * Built-in scene / theme catalogs for validation hints (“expected one of …”). * Keep in sync with registerComponent / registerDashboard / registerAutomotive / diagram types. */ export declare const SHAPE_TYPES: readonly ["rect", "circle", "ellipse", "line", "arc", "polygon", "polyline", "path", "star", "roundedRect", "text", "image", "sprite", "group", "layer"]; export declare const UI_COMPONENT_TYPES: readonly ["accordion", "button", "card", "checkbox", "dialog", "input", "label", "menu", "progressBar", "radio", "slider", "statusBar", "table", "tabs", "textarea", "toast", "toggle", "toolbar", "tooltip", "tree"]; export declare const DASHBOARD_TYPES: readonly ["alluvialChart", "areaChart", "bandChart", "barChart", "battery", "beeswarmChart", "boxAndWhiskerChart", "boxPlot", "bubbleChart", "bulletChart", "bumpChart", "calendar", "calendarHeatmap", "candlestickVolumeChart", "chartPanel", "chordChart", "clock", "columnChart", "combinationChart", "compass", "coneChart", "contourChart", "controlChart", "dendrogramChart", "densityPlot", "dotPlot", "doughnutChart", "errorBarChart", "funnelChart", "ganttChart", "gauge", "heatmap", "hexbinChart", "histogram", "horizonChart", "horizontalBarChart", "kagiChart", "knob", "legend", "lineChart", "lollipopChart", "marimekkoChart", "mekkoChart", "meshChart3d", "meter", "mixedChart", "mosaicChart", "networkChart", "parallelCoordinatesPlot", "paretoChart", "pictogramChart", "pieChart", "polarAreaChart", "populationPyramidChart", "pyramidChart", "qqPlot", "radarChart", "rangeAreaChart", "rangeChart", "ribbonChart", "ridgelinePlot", "runChart", "sankeyChart", "scatterChart", "signalStrength", "sparklineChart", "speedometer", "spiderChart", "splineChart", "stackedAreaChart", "stackedBarChart", "stackedColumnChart", "stemLeafPlot", "stepChart", "streamgraph", "stripPlot", "sunburstChart", "surfaceChart3d", "thermometer", "timeline", "treeChart", "treemap", "vectorFieldChart", "violinPlot", "volumeChart", "volumeProfileChart", "waffleChart", "waterfallChart", "wireframeChart3d", "wordCloudChart"]; export declare const AUTOMOTIVE_TYPES: readonly ["adasStatus", "albumArt", "batteryVoltage", "calendar", "callScreen", "canViewer", "climateControl", "compass", "cruiseControl", "digitalInstrumentCluster", "engineTemp", "fmRadio", "fuelGauge", "gearIndicator", "gpsNavigationMap", "headlights", "instrumentCluster", "mediaPlayer", "musicControls", "navigationSearch", "notificationCenter", "nowPlaying", "parkingBrake", "podcastPlayer", "quickSettingsPanel", "rearViewCamera", "routeGuidance", "speedometer", "sunriseSunset", "tachometer", "tpms", "turnIndicators", "warningAlertPanel", "warningLamp"]; export declare const DIAGRAM_TYPES: readonly ["flowchart", "stateMachine", "classDiagram", "mindMap", "networkTopology", "orgChart", "electricalSchematic", "schematicSymbolCatalog", "canNetwork", "processPipeline"]; export declare const UI_THEME_PRESETS: readonly ["default", "dark", "violet", "emerald", "slate", "ocean", "rose", "darkViolet"]; export declare const AUTOMOTIVE_THEME_PRESETS: readonly ["classic", "sport", "digital"]; /** Prop enums keyed by node type → prop name → allowed values */ export declare const PROP_ENUMS: Record>; /** Shared prop enums applied to any node that declares the key */ export declare const SHARED_PROP_ENUMS: Record; /** Register custom / plugin types so strict validation accepts them. */ export declare function registerKnownSceneTypes(types: string[]): void; export declare function clearExtraSceneTypes(): void; export declare function listKnownSceneTypes(): string[]; export declare function isKnownSceneType(type: string): boolean; /** Levenshtein distance (small strings). */ export declare function editDistance(a: string, b: string): number; /** * Closest catalog matches for a bad value. * Prefers edit distance, then case-insensitive / substring hits. */ export declare function suggestClosest(value: string, allowed: readonly string[], limit?: number): string[]; /** `expected one of: "a" | "b" | "c"` (truncates long lists). */ export declare function formatExpectedValues(allowed: readonly string[], maxShow?: number): string; /** Full human hint: invalid + expected + optional did-you-mean. */ export declare function formatInvalidValue(got: unknown, allowed: readonly string[], opts?: { maxShow?: number; suggest?: boolean; }): string; export declare function propEnumsForType(type: string): Record;