@cloudvoyant/helical-ui 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3,9 +3,8 @@ import { VariantProps } from 'class-variance-authority';
3
3
  import { ClassValue } from 'clsx';
4
4
  import * as ManimWeb from 'manim-web';
5
5
  import { DomChartDefinition } from '@tanstack/charts';
6
- import { LogicalKey, LetterKey, Modifier, ValidationResult } from '@tanstack/hotkeys';
6
+ export { C as ColonCommandColumns, a as ColonCommandProps, b as CommandBreadcrumb, c as CommandContextProps, d as CommandContextValue, e as CommandFlatItem, f as CommandMenuColumns, g as CommandMenuProps, h as CommandMenuVariants, i as CommandNode, j as CommandPaletteProps, k as CommandPaletteVariants, l as CommandSelectContext, m as CommandStyle, K as KbdChord, n as KbdHotkey, o as KbdProps, p as KbdStepResult, q as KbdVariants, r as commandMenuStyles, s as commandPaletteStyles, t as createCommandTree, u as formatKeyChord, v as formatKeySequence, w as inferPlatform, x as isChordCommandString, y as kbdGroupBase, z as kbdVariants, A as matchesCommandHotkey, B as resolveKbdSteps, D as validateKbdChord, E as validateKbdHotkey } from './index-FoNHRG3R.js';
7
7
  export * from '@tanstack/hotkeys';
8
- import { TreeCollection } from '@zag-js/collection';
9
8
  import * as _tiptap_core from '@tiptap/core';
10
9
  import { Editor, Range, Extensions, Extension, Node } from '@tiptap/core';
11
10
  import { SuggestionOptions } from '@tiptap/suggestion';
@@ -16,6 +15,7 @@ import { createLowlight } from 'lowlight';
16
15
  import * as _tiptap_extension_mention from '@tiptap/extension-mention';
17
16
  import { Slice, Node as Node$1 } from '@tiptap/pm/model';
18
17
  import { PluginKey } from '@tiptap/pm/state';
18
+ import '@zag-js/collection';
19
19
 
20
20
  declare const buttonVariants: (props?: ({
21
21
  variant?: "solid" | "outline" | "text" | null | undefined;
@@ -64,6 +64,29 @@ declare const dialogHeaderStickyBase = "sticky top-0 z-10 bg-background";
64
64
  declare const dialogFooterStickyBase = "sticky bottom-0 z-10 bg-background";
65
65
  declare const dialogFullscreenContentBase = "h-dvh w-full max-w-none rounded-none border-0 p-0 sm:rounded-none";
66
66
  declare const dialogCloseTriggerBase = "absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-[3px] focus:ring-ring/30 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
67
+ declare const dialogStyles: {
68
+ readonly backdrop: "bg-black/50";
69
+ readonly positioner: "fixed inset-0 z-50 [--z-index:50]! flex items-start justify-center overflow-y-auto p-4";
70
+ readonly content: "relative z-50 my-auto grid w-full max-w-lg gap-4 border bg-background p-6 shadow-lg sm:rounded-lg outline-none";
71
+ readonly title: "text-lg font-semibold leading-none tracking-tight";
72
+ readonly description: "text-sm text-muted-foreground";
73
+ readonly header: "flex flex-col gap-2";
74
+ readonly footer: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end";
75
+ readonly headerSticky: "sticky top-0 z-10 bg-background";
76
+ readonly footerSticky: "sticky bottom-0 z-10 bg-background";
77
+ readonly fullscreenContent: "h-dvh w-full max-w-none rounded-none border-0 p-0 sm:rounded-none";
78
+ readonly closeTrigger: "absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-[3px] focus:ring-ring/30 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
79
+ };
80
+ /**
81
+ * Captures the currently focused DOM element before a dialog opens, excluding
82
+ * `document.body`, `document.documentElement`, and any element inside `excludeRoot`.
83
+ */
84
+ declare function captureDialogFocusTarget(excludeRoot?: HTMLElement | null): HTMLElement | null;
85
+ /**
86
+ * Restores focus to `previousFocusEl` after a dialog closes unless an action
87
+ * inside the dialog has already moved focus to a new target or opened another modal.
88
+ */
89
+ declare function restoreDialogFocusTarget(previousFocusEl: HTMLElement | null, closingContentEl?: HTMLElement | null): void;
67
90
 
68
91
  type KeybindingPreset = 'helix' | 'vim' | 'kakoune';
69
92
  type KeymapMode = 'normal' | 'select' | 'insert' | 'jump';
@@ -438,7 +461,7 @@ declare const pageGutterVariants: (props?: ({
438
461
  side?: "left" | "right" | null | undefined;
439
462
  } & class_variance_authority_types.ClassProp) | undefined) => string;
440
463
  declare const pageGutterContentVariants: (props?: ({
441
- align?: "start" | "end" | "center" | null | undefined;
464
+ align?: "center" | "start" | "end" | null | undefined;
442
465
  } & class_variance_authority_types.ClassProp) | undefined) => string;
443
466
  declare const pageContentBase = "min-w-0 [grid-area:content]";
444
467
  declare const pageFooterBase = "w-full shrink-0 [grid-area:footer]";
@@ -570,7 +593,7 @@ declare const navbarShrunkBase = "h-12";
570
593
  declare const navbarBrandBase = "flex shrink-0 items-center gap-2";
571
594
  declare const navbarMenuBase = "hidden items-center md:flex";
572
595
  declare const navbarMenuPlacementVariants: (props?: ({
573
- placement?: "left" | "right" | "center" | null | undefined;
596
+ placement?: "center" | "left" | "right" | null | undefined;
574
597
  } & class_variance_authority_types.ClassProp) | undefined) => string;
575
598
  declare const navbarActionsBase = "ml-auto hidden items-center gap-2 md:flex";
576
599
  declare const navbarTriggerVariants: (props?: ({
@@ -583,12 +606,126 @@ declare const navbarMobileHeaderBase = "flex items-center justify-between gap-2
583
606
  declare const navbarMobileMenuBase = "flex flex-1 flex-col gap-1 overflow-y-auto px-4 py-2";
584
607
  declare const navbarMobileActionsBase = "flex items-center gap-2 border-t border-border px-4 py-4";
585
608
 
609
+ type ThemeMode = 'light' | 'dark' | 'system';
610
+ interface LightSwitchBaseProps {
611
+ mode?: ThemeMode;
612
+ defaultMode?: ThemeMode;
613
+ onModeChange?: (mode: ThemeMode) => void;
614
+ }
615
+ declare const lightSwitchButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
616
+ type LightSwitchButtonVariants = VariantProps<typeof lightSwitchButtonVariants>;
617
+ /**
618
+ * Cycles a color-mode preference through `'system' -> 'light' -> 'dark' -> 'system'`.
619
+ */
620
+ declare function cycleThemeModeValue(mode: ThemeMode): ThemeMode;
621
+ /**
622
+ * Reads whether the operating system currently prefers a dark color scheme via `matchMedia`.
623
+ */
624
+ declare function readSystemDarkMode(): boolean;
625
+ /**
626
+ * Subscribes to operating system `prefers-color-scheme: dark` media query changes.
627
+ * Returns an unsubscribe function.
628
+ */
629
+ declare function subscribeSystemDarkMode(onChange: (dark: boolean) => void): () => void;
630
+ /**
631
+ * Reads whether `document.documentElement` currently has the `dark` class applied.
632
+ */
633
+ declare function readDocumentDarkMode(): boolean;
634
+ /**
635
+ * Toggles the `dark` class on `document.documentElement` while preserving the active `theme-*` class.
636
+ */
637
+ declare function syncDocumentDarkMode(dark: boolean): void;
638
+
586
639
  interface ThemeMeta {
587
640
  name: string;
588
641
  label: string;
589
- }
642
+ css?: string;
643
+ }
644
+ type ThemeName = string;
645
+ interface ThemeServiceOptions {
646
+ themes?: readonly ThemeMeta[];
647
+ customThemes?: readonly ThemeMeta[];
648
+ initialTheme?: ThemeName;
649
+ initialMode?: ThemeMode;
650
+ onThemeChange?: (theme: ThemeName) => void;
651
+ onModeChange?: (mode: ThemeMode) => void;
652
+ }
653
+ interface UseThemeOptions {
654
+ customThemes?: readonly ThemeMeta[];
655
+ themes?: readonly ThemeMeta[];
656
+ defaultTheme?: ThemeName;
657
+ defaultMode?: ThemeMode;
658
+ onThemeChange?: (theme: ThemeName) => void;
659
+ onModeChange?: (mode: ThemeMode) => void;
660
+ }
661
+ interface ThemeController {
662
+ readonly theme: ThemeName;
663
+ readonly themeMode: ThemeMode;
664
+ readonly darkMode: boolean;
665
+ readonly themes: readonly ThemeMeta[];
666
+ setTheme: (theme: ThemeName) => ThemeName;
667
+ setThemeMode: (mode: ThemeMode) => ThemeMode;
668
+ cycleThemeMode: () => ThemeMode;
669
+ registerCustomThemes: (customThemes: readonly ThemeMeta[], options?: {
670
+ defaultTheme?: ThemeName;
671
+ }) => readonly ThemeMeta[];
672
+ }
673
+ interface ThemeSelectorBaseProps {
674
+ value?: ThemeName;
675
+ defaultValue?: ThemeName;
676
+ themes?: readonly ThemeMeta[];
677
+ customThemes?: readonly ThemeMeta[];
678
+ onValueChange?: (theme: ThemeName) => void;
679
+ }
680
+ declare const THEME_CLASS_PREFIX = "theme-";
681
+ declare const DEFAULT_THEME = "helical-ui";
682
+ declare const themeSelectorSwatchVariants: (props?: ({
683
+ active?: boolean | null | undefined;
684
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
685
+ type ThemeSelectorSwatchVariants = VariantProps<typeof themeSelectorSwatchVariants>;
686
+ declare const themeSelectorStyles: {
687
+ readonly container: "max-h-64 overflow-y-auto rounded-md border border-border p-2";
688
+ readonly grid: "grid grid-cols-2 gap-2";
689
+ readonly swatch: (props?: ({
690
+ active?: boolean | null | undefined;
691
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
692
+ };
590
693
  declare const THEMES: ThemeMeta[];
591
694
  declare const THEME_NAMES: string[];
695
+ /**
696
+ * Registers custom theme definitions ahead of the built-in `THEMES` presets,
697
+ * deduplicating by theme `name` and injecting any inline `css` declarations into `document.head`.
698
+ */
699
+ declare function registerCustomThemes(customThemes: readonly ThemeMeta[]): ThemeMeta[];
700
+ /**
701
+ * Alias for {@link registerCustomThemes}.
702
+ */
703
+ declare const mergeThemePresets: typeof registerCustomThemes;
704
+ /**
705
+ * Checks whether a `.theme-{name}` CSS rule is loaded in the active document stylesheets.
706
+ * Falls back to checking registered themes with CSS or built-in `THEME_NAMES` when running outside the browser.
707
+ */
708
+ declare function hasThemeCss(theme: ThemeName): boolean;
709
+ /**
710
+ * Reads the active `theme-*` class from `document.documentElement`, falling back to `'helical-ui'`.
711
+ */
712
+ declare function readDocumentTheme(): ThemeName;
713
+ /**
714
+ * Applies a `theme-{name}` class (and optional `dark` class) to `document.documentElement`.
715
+ * If the requested theme has no loaded CSS rules, falls back to `'helical-ui'`.
716
+ * Returns the resolved theme name that was applied.
717
+ */
718
+ declare function syncDocumentTheme(theme: ThemeName, dark?: boolean): ThemeName;
719
+ /**
720
+ * Observes `document.documentElement` class mutations and custom theme registrations, invoking
721
+ * `onChange` whenever the active `theme-*` class, `dark` mode class, or registered themes change.
722
+ * Returns an unsubscribe function.
723
+ */
724
+ declare function subscribeDocumentTheme(onChange: (state: {
725
+ theme: ThemeName;
726
+ dark: boolean;
727
+ themes: readonly ThemeMeta[];
728
+ }) => void): () => void;
592
729
 
593
730
  declare function cn(...inputs: ClassValue[]): string;
594
731
 
@@ -1071,69 +1208,6 @@ declare const listboxLabelBase = "px-2 py-1.5 text-xs font-semibold text-muted-f
1071
1208
  declare const listboxItemGroupBase = "flex flex-col py-1 first:pt-0 last:pb-0";
1072
1209
  declare const listboxItemGroupLabelBase = "px-2 py-1 text-[11px] font-semibold tracking-wider text-muted-foreground uppercase select-none";
1073
1210
 
1074
- declare const kbdVariants: (props?: ({
1075
- variant?: "solid" | "outline" | "subtle" | null | undefined;
1076
- size?: "sm" | "md" | "lg" | null | undefined;
1077
- invalid?: boolean | null | undefined;
1078
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1079
- declare const kbdGroupBase = "inline-flex items-center gap-1";
1080
- type KbdVariants = VariantProps<typeof kbdVariants>;
1081
- type LowerLetterKey = Lowercase<LetterKey>;
1082
- type CommonKeyAlias = 'Esc' | 'Return' | 'Spacebar' | 'Del' | 'Ins' | 'PgUp' | 'PgDn';
1083
- type CoreModifier = 'Control' | 'Ctrl' | 'Shift' | 'Alt' | 'Option' | 'Meta' | 'Cmd' | 'Mod';
1084
- type KbdKey = LogicalKey | LowerLetterKey | CommonKeyAlias;
1085
- type SequencePrefixChord = LowerLetterKey | LetterKey | 'Space' | `${CoreModifier}+${LowerLetterKey | LetterKey}`;
1086
- /**
1087
- * Type-safe single key or modifier chord backed by `@tanstack/hotkeys`'s `LogicalKey` and `Modifier`,
1088
- * extended with lowercase modal letter bindings (`'g'`, `'Control+w'`) and common aliases.
1089
- */
1090
- type KbdChord = KbdKey | Modifier | `${CoreModifier}+${KbdKey}` | `${CoreModifier}+Shift+${KbdKey}`;
1091
- /**
1092
- * Type-safe hotkey prop accepting a single chord (`'Mod+K'`), a space-separated
1093
- * multi-chord sequence (`'Space w v'`, `'Control+w l'`), or a sequence array (`['Space', '?']`).
1094
- */
1095
- type KbdHotkey = KbdChord | `${SequencePrefixChord} ${string}` | ReadonlyArray<KbdChord>;
1096
- interface KbdStepResult {
1097
- raw: string;
1098
- label: string;
1099
- valid: boolean;
1100
- errors: string[];
1101
- warnings: string[];
1102
- }
1103
- interface KbdProps {
1104
- variant?: KbdVariants['variant'];
1105
- size?: KbdVariants['size'];
1106
- /**
1107
- * Direct hotkey chord or sequence (e.g. `'Mod+K'`, `'Control+w l'`, `['Space', '?']`).
1108
- * Validated via `@tanstack/hotkeys` with automatic platform inference; broken chords trigger a console warning and render in the broken state.
1109
- */
1110
- hotkey?: KbdHotkey;
1111
- useSymbols?: boolean;
1112
- className?: string;
1113
- }
1114
- declare function inferPlatform(): 'mac' | 'windows' | 'linux';
1115
- declare function validateKbdChord(chord: string): ValidationResult;
1116
- declare function validateKbdHotkey(hotkey: string | ReadonlyArray<string>): ValidationResult;
1117
- declare function formatKeyChord(chord: string, options?: {
1118
- useSymbols?: boolean;
1119
- }): string;
1120
- declare function formatKeySequence(hotkey: string | ReadonlyArray<string>, options?: {
1121
- useSymbols?: boolean;
1122
- }): string[];
1123
- declare function resolveKbdSteps(hotkey: string | ReadonlyArray<string>, options?: {
1124
- useSymbols?: boolean;
1125
- warn?: boolean;
1126
- }): {
1127
- steps: KbdStepResult[];
1128
- valid: boolean;
1129
- message: string | undefined;
1130
- };
1131
- /**
1132
- * Checks whether a plain string child passed to `<Kbd>{children}</Kbd>` should be parsed
1133
- * as a hotkey chord/sequence (e.g. `'Mod+K'`, `'Shift+Z'`, `'Space w v'`).
1134
- */
1135
- declare function isChordCommandString(value: string): boolean;
1136
-
1137
1211
  type ToastType = 'info' | 'success' | 'warning' | 'error' | 'loading';
1138
1212
  type ToastPlacement = 'top-start' | 'top' | 'top-end' | 'bottom-start' | 'bottom' | 'bottom-end';
1139
1213
  interface ToastActionOptions {
@@ -1149,245 +1223,6 @@ declare const toastDescriptionBase = "text-xs leading-relaxed text-muted-foregro
1149
1223
  declare const toastActionTriggerBase = "inline-flex h-7 shrink-0 cursor-pointer items-center justify-center rounded-md border border-border bg-secondary px-2.5 text-xs font-medium text-secondary-foreground transition-colors hover:bg-secondary/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50";
1150
1224
  declare const toastCloseTriggerBase = "inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground opacity-70 transition-opacity hover:bg-accent hover:text-accent-foreground hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50 [&_svg]:pointer-events-none [&_svg]:size-3.5";
1151
1225
 
1152
- type CommandStyle = 'palette' | 'menu' | 'colon';
1153
- interface CommandSelectContext {
1154
- value: string;
1155
- valuePath: string[];
1156
- commandString: string;
1157
- node: CommandNode;
1158
- }
1159
- interface CommandNode {
1160
- value: string;
1161
- label: string;
1162
- description?: string;
1163
- group?: string;
1164
- /** Command token for this level (defaults to `value`, e.g. 'theme' or 'catppuccin'). */
1165
- command?: string;
1166
- /** Alternative command tokens (e.g. ['t', 'colorscheme']). */
1167
- aliases?: string[];
1168
- /** Keyboard shortcut chord(s) rendered via <Kbd>. */
1169
- shortcut?: KbdHotkey;
1170
- /** Extra search terms matched during filtering. */
1171
- keywords?: string[];
1172
- /** Optional status badge (e.g. 'Future' for Search Docs). */
1173
- badge?: string;
1174
- /** Marks the currently active setting option (e.g. current theme, mode, preset, framework). */
1175
- active?: boolean;
1176
- disabled?: boolean;
1177
- closeOnSelect?: boolean;
1178
- onSelect?: (ctx: CommandSelectContext) => void;
1179
- children?: CommandNode[];
1180
- }
1181
- interface CommandBreadcrumb {
1182
- value: string;
1183
- label: string;
1184
- command: string;
1185
- }
1186
- interface CommandFlatItem {
1187
- value: string;
1188
- label: string;
1189
- description?: string;
1190
- group: string;
1191
- command: string;
1192
- fullCommand: string;
1193
- aliases: string[];
1194
- shortcut?: KbdHotkey;
1195
- badge?: string;
1196
- active: boolean;
1197
- disabled: boolean;
1198
- isBranch: boolean;
1199
- valuePath: string[];
1200
- breadcrumbLabels: string[];
1201
- /** Character indices matched by fzf in `label` for fuzzy highlighting. */
1202
- matchPositions?: number[];
1203
- /** Character indices matched by fzf in `command` for command completion highlighting. */
1204
- commandMatchPositions?: number[];
1205
- score?: number;
1206
- node: CommandNode;
1207
- }
1208
- interface CommandLevelResolution {
1209
- /** False when the root command tree has zero registered commands. */
1210
- hasCommands: boolean;
1211
- breadcrumbs: CommandBreadcrumb[];
1212
- items: CommandFlatItem[];
1213
- groups: Array<{
1214
- label: string;
1215
- items: CommandFlatItem[];
1216
- }>;
1217
- }
1218
- interface CommandMenuResolution {
1219
- /** False when the root command tree has zero registered commands. */
1220
- hasCommands: boolean;
1221
- normalizedInput: string;
1222
- completedTokens: string[];
1223
- partialToken: string;
1224
- breadcrumbs: CommandBreadcrumb[];
1225
- suggestions: CommandFlatItem[];
1226
- exactNode: CommandFlatItem | null;
1227
- error: string | null;
1228
- }
1229
- type ColonCommandResolution = CommandMenuResolution;
1230
- interface CommandHighlightSegment {
1231
- text: string;
1232
- highlight: boolean;
1233
- }
1234
- interface CommandPaletteProps {
1235
- items?: CommandNode[];
1236
- collection?: TreeCollection<CommandNode>;
1237
- open?: boolean;
1238
- defaultOpen?: boolean;
1239
- onOpenChange?: (open: boolean) => void;
1240
- activePath?: string[];
1241
- onActivePathChange?: (path: string[]) => void;
1242
- query?: string;
1243
- onQueryChange?: (query: string) => void;
1244
- onSelectCommand?: (ctx: CommandSelectContext) => void;
1245
- placeholder?: string;
1246
- /** Displayed when commands are registered but none match the search query. @default 'No matching commands.' */
1247
- emptyText?: string;
1248
- /** Displayed in the UI when no commands are registered in the tree. @default 'No commands registered.' */
1249
- noCommandsText?: string;
1250
- size?: 'sm' | 'md' | 'lg';
1251
- /** Render inline inside a container instead of a modal Dialog (useful for docs previews). */
1252
- inline?: boolean;
1253
- /** Global keyboard shortcut to toggle open (e.g. 'Mod+k'), or false to disable. @default 'Mod+k' */
1254
- hotkey?: string | false;
1255
- className?: string;
1256
- }
1257
- type CommandMenuColumns = 'auto' | 1 | 2 | 3 | 4;
1258
- type ColonCommandColumns = CommandMenuColumns;
1259
- interface CommandMenuProps {
1260
- items?: CommandNode[];
1261
- collection?: TreeCollection<CommandNode>;
1262
- open?: boolean;
1263
- defaultOpen?: boolean;
1264
- onOpenChange?: (open: boolean) => void;
1265
- inputValue?: string;
1266
- onInputValueChange?: (value: string) => void;
1267
- onSelectCommand?: (ctx: CommandSelectContext) => void;
1268
- /** Optional input placeholder text (e.g. 'Type a command'). @default '' */
1269
- placeholder?: string;
1270
- /** Displayed when commands are registered but none match the typed filter. @default 'No matching commands.' */
1271
- emptyText?: string;
1272
- /** Displayed in the UI when no commands are registered in the tree. @default 'No commands registered.' */
1273
- noCommandsText?: string;
1274
- /** Number of completion columns above the prompt bar. @default 'auto' */
1275
- columns?: CommandMenuColumns;
1276
- /** Whether to display keyboard shortcut badges next to completion items. @default false */
1277
- showShortcuts?: boolean;
1278
- /** Compactness variant for the completion grid and prompt bar. @default 'md' */
1279
- size?: 'sm' | 'md' | 'lg';
1280
- /** Render inline inside a container instead of a modal Dialog (useful for docs previews). */
1281
- inline?: boolean;
1282
- /** Global keyboard shortcut to open the command menu (e.g. ':'), or false to disable. @default ':' */
1283
- hotkey?: string | false;
1284
- className?: string;
1285
- }
1286
- type ColonCommandProps = CommandMenuProps;
1287
- interface CommandContextProps {
1288
- items?: CommandNode[];
1289
- collection?: TreeCollection<CommandNode>;
1290
- open?: boolean;
1291
- defaultOpen?: boolean;
1292
- onOpenChange?: (open: boolean) => void;
1293
- style?: CommandStyle;
1294
- defaultStyle?: CommandStyle;
1295
- onStyleChange?: (style: CommandStyle) => void;
1296
- onSelectCommand?: (ctx: CommandSelectContext) => void;
1297
- }
1298
- interface CommandContextValue {
1299
- items?: CommandNode[];
1300
- collection?: TreeCollection<CommandNode>;
1301
- tree: TreeCollection<CommandNode>;
1302
- open: boolean;
1303
- setOpen: (open: boolean) => void;
1304
- style: CommandStyle;
1305
- setStyle: (style: CommandStyle) => void;
1306
- openPalette: () => void;
1307
- openMenu: () => void;
1308
- openColon: () => void;
1309
- close: () => void;
1310
- toggle: () => void;
1311
- onSelectCommand?: (ctx: CommandSelectContext) => void;
1312
- }
1313
-
1314
- declare function createCommandTree(items?: CommandNode[] | TreeCollection<CommandNode>): TreeCollection<CommandNode>;
1315
- declare function resolveCommandLevel(tree: TreeCollection<CommandNode>, activePath?: string[], query?: string, options?: {
1316
- deepSearch?: boolean;
1317
- }): CommandLevelResolution;
1318
- declare function resolveCommandMenuState(tree: TreeCollection<CommandNode>, rawInput?: string): CommandMenuResolution;
1319
- declare const resolveColonCommandState: typeof resolveCommandMenuState;
1320
- declare function formatCommandMenuCompletionInput(completedTokens: string[], item: CommandFlatItem, appendBranchSpace?: boolean): string;
1321
- declare const formatColonCompletionInput: typeof formatCommandMenuCompletionInput;
1322
- declare function splitHighlightSegments(text: string, matchPositions?: number[]): CommandHighlightSegment[];
1323
- declare function announceCommandMessage(message: string): void;
1324
- declare function matchesCommandHotkey(event: KeyboardEvent, hotkey: string): boolean;
1325
- declare function shouldHandleCommandHotkey(anchorEl: HTMLElement | null, selector: string): boolean;
1326
- declare function resolveCommandMenuGridStyle(columns: CommandMenuColumns | undefined, itemCount: number): {
1327
- display: 'grid';
1328
- gridAutoFlow: 'column';
1329
- gridTemplateRows: string;
1330
- gridTemplateColumns: string;
1331
- } | undefined;
1332
- declare const resolveColonCommandGridStyle: typeof resolveCommandMenuGridStyle;
1333
- declare function resolveCommandMenuGridNavigation(columns: CommandMenuColumns | undefined, itemCount: number, currentIdx: number, key: 'ArrowDown' | 'ArrowUp' | 'ArrowRight' | 'ArrowLeft'): number;
1334
- declare const resolveColonCommandGridNavigation: typeof resolveCommandMenuGridNavigation;
1335
-
1336
- declare const commandPaletteVariants: (props?: ({
1337
- size?: "sm" | "md" | "lg" | null | undefined;
1338
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1339
- type CommandPaletteVariants = VariantProps<typeof commandPaletteVariants>;
1340
- declare const commandPalettePositionerBase = "items-center justify-center p-4";
1341
- declare const commandPaletteDialogContentBase = "my-auto gap-0 overflow-hidden p-0 sm:max-w-xl";
1342
- declare const commandPaletteHeaderBase = "flex items-center gap-2 border-b border-border px-3 py-2.5";
1343
- declare const commandPaletteBreadcrumbBase = "inline-flex shrink-0 items-center gap-1 rounded-md bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground";
1344
- declare const commandPaletteInputBase = "flex-1 border-0 bg-transparent px-1 py-0.5 text-sm text-foreground outline-none placeholder:text-muted-foreground focus-visible:ring-0";
1345
- declare const commandPaletteListBase = "max-h-80 overflow-y-auto p-1.5 outline-none";
1346
- declare const commandPaletteItemBase = "group relative flex w-full cursor-pointer select-none items-center justify-between gap-3 rounded-lg px-2.5 py-2 text-sm outline-none transition-colors data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
1347
- declare const commandPaletteFooterBase = "flex flex-wrap items-center justify-between gap-2 border-t border-border bg-muted/30 px-3 py-2 text-[11px] text-muted-foreground";
1348
- declare const commandMenuVariants: (props?: ({
1349
- size?: "sm" | "md" | "lg" | null | undefined;
1350
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1351
- type CommandMenuVariants = VariantProps<typeof commandMenuVariants>;
1352
- declare const commandMenuPositionerBase = "items-end justify-stretch p-0!";
1353
- declare const commandMenuDialogContentBase = "fixed inset-x-0 bottom-0 top-auto my-0 w-full max-w-none translate-x-0 translate-y-0 gap-0 overflow-hidden rounded-none border-x-0 border-b-0 border-t border-border p-0 shadow-2xl sm:max-w-none sm:rounded-none";
1354
- declare const commandMenuListVariants: (props?: ({
1355
- columns?: 2 | 1 | "auto" | 3 | 4 | null | undefined;
1356
- size?: "sm" | "md" | "lg" | null | undefined;
1357
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1358
- declare const commandMenuItemVariants: (props?: ({
1359
- size?: "sm" | "md" | "lg" | null | undefined;
1360
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1361
- declare const commandMenuPromptBarVariants: (props?: ({
1362
- size?: "sm" | "md" | "lg" | null | undefined;
1363
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1364
- declare const commandMenuPrefixBase = "select-none font-mono font-bold text-primary";
1365
- declare const commandMenuInputVariants: (props?: ({
1366
- size?: "sm" | "md" | "lg" | null | undefined;
1367
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1368
- declare const commandMenuErrorBase = "flex items-center justify-between gap-2 border-t border-destructive/30 bg-destructive/10 px-3 py-1.5 font-mono text-xs text-destructive";
1369
- declare const colonCommandVariants: (props?: ({
1370
- size?: "sm" | "md" | "lg" | null | undefined;
1371
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1372
- type ColonCommandVariants = CommandMenuVariants;
1373
- declare const colonCommandPositionerBase = "items-end justify-stretch p-0!";
1374
- declare const colonCommandDialogContentBase = "fixed inset-x-0 bottom-0 top-auto my-0 w-full max-w-none translate-x-0 translate-y-0 gap-0 overflow-hidden rounded-none border-x-0 border-b-0 border-t border-border p-0 shadow-2xl sm:max-w-none sm:rounded-none";
1375
- declare const colonCommandListVariants: (props?: ({
1376
- columns?: 2 | 1 | "auto" | 3 | 4 | null | undefined;
1377
- size?: "sm" | "md" | "lg" | null | undefined;
1378
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1379
- declare const colonCommandItemVariants: (props?: ({
1380
- size?: "sm" | "md" | "lg" | null | undefined;
1381
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1382
- declare const colonCommandPromptBarVariants: (props?: ({
1383
- size?: "sm" | "md" | "lg" | null | undefined;
1384
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1385
- declare const colonCommandPrefixBase = "select-none font-mono font-bold text-primary";
1386
- declare const colonCommandInputVariants: (props?: ({
1387
- size?: "sm" | "md" | "lg" | null | undefined;
1388
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1389
- declare const colonCommandErrorBase = "flex items-center justify-between gap-2 border-t border-destructive/30 bg-destructive/10 px-3 py-1.5 font-mono text-xs text-destructive";
1390
-
1391
1226
  declare function createHelixPreset(leaderKey?: string): Record<string, WhichKeyNode>;
1392
1227
  declare function createVimPreset(leaderKey?: string): Record<string, WhichKeyNode>;
1393
1228
  declare function createKakounePreset(leaderKey?: string): Record<string, WhichKeyNode>;
@@ -1412,7 +1247,7 @@ declare const whichKeyItemBase = "group flex w-full cursor-pointer items-center
1412
1247
  declare const whichKeyItemLabelBase = "inline-flex min-w-0 items-center gap-1 truncate text-foreground group-hover:text-accent-foreground data-[group=true]:font-medium data-[group=true]:text-primary";
1413
1248
  declare const whichKeyFooterBase = "pointer-events-none h-2 shrink-0";
1414
1249
  declare const whichKeyModeBadgeVariants: (props?: ({
1415
- mode?: "normal" | "select" | "insert" | "jump" | null | undefined;
1250
+ mode?: "select" | "normal" | "insert" | "jump" | null | undefined;
1416
1251
  size?: "sm" | "md" | "lg" | null | undefined;
1417
1252
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1418
1253
  type WhichKeyModeBadgeVariants = VariantProps<typeof whichKeyModeBadgeVariants>;
@@ -1657,4 +1492,4 @@ declare function getEditorModalTarget(editor: Editor): ModalEditorTarget | undef
1657
1492
  declare function serializeModalSliceText(doc: Node$1, from: number, to: number): string;
1658
1493
  declare const ModalKeymap: Extension<ModalKeymapOptions, ModalKeymapStorage>;
1659
1494
 
1660
- export { type BadgeProps, type BadgeVariants, type BuildExtensionsOptions, type ButtonProps, type ButtonVariants, type CardCoverProps, type CardProps, type CardVariants, type ChartProps, type ChartSeries, type CheckboxProps, type CheckboxVariants, type CodeBlockProps, type ColonCommandColumns, type ColonCommandProps, type ColonCommandResolution, type ColonCommandVariants, type ComboboxItemVariants, type ComboboxProps, type CommandBreadcrumb, type CommandContextProps, type CommandContextValue, type CommandFlatItem, type CommandHighlightSegment, type CommandLevelResolution, type CommandMenuColumns, type CommandMenuProps, type CommandMenuResolution, type CommandMenuVariants, type CommandNode, type CommandPaletteProps, type CommandPaletteVariants, type CommandSelectContext, type CommandStyle, DEFAULT_JUMP_ALPHABET, type EditorCounts, EditorHeading, type EditorNodeViews, type EditorSeams, ExitHeading, type FigureProps, type FileEntry, HeadingWithId, type ImageUploadResult, type InputProps, type InputVariants, type ItemProps, type ItemVariants, type JumpAction, type JumpTarget, Jumplist, type JumplistEntry, type KbdChord, type KbdHotkey, type KbdProps, type KbdStepResult, type KbdVariants, type KeybindingPreset, type KeymapCommandContext, type KeymapExplorerEntry, type KeymapHandler, type KeymapMode, type KeymapNodesInput, type KeymapPriority, type LaTeXProps, type LanguageTab, type LinkPreviewAttributes, type LinkPreviewFetcher, type ListboxItemData, type ManimModule, type ManimProps, type ManimRecordingScene, type MentionItem, type MentionListElement, type MermaidProps, type ModalEditorTarget, ModalKeymap, type ModalKeymapOptions, type ModalKeymapPluginState, type ModalKeymapStorage, type ModalMotion, type ModalOperator, type ModalSelectionTransform, type ModalTextObjectSpec, type MultipleChoiceQuestionData, type NativeSelectVariants, type NavbarDensity, type NavbarMenuDensity, type NavbarMenuVariant, type NavbarVariant, type NodeViewFactory, type NoticeAttributes, type NoticeProps, type NoticeVariant, type NoticeVariants, type NumberInputProps, type NumericQuestionData, type OverlayPlacementOptions, type OverlayPosition, type PageGutterContentVariants, type PageGutterVariants, type PagePaneRegistrationProps, type PageVariants, type PaneDirection, type PaneProps, type PaneRect, type PaneRegistration, type PaneRegistrationProps, type PrevNextProps, type ProseProps, type ProseVariants, type Question, type RegisterKeymapOptions, type RevealProps, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDGET_DEFAULT_SNAP_POINT, SIDEBAR_WIDGET_SNAP_POINTS, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, type SecondaryCursorRange, type SelectItemData, type SelectProps, type SidebarContextProps, type SidebarMenuButtonVariants, type SidebarPaneRegistrationProps, type SingleChoiceQuestionData, type SlashCommandItem, type SplitterPanelPaneRegistrationProps, type SwitchProps, type SwitchVariants, THEMES, THEME_NAMES, type TabsIndicatorVariants, type TabsListVariants, type TagsInputProps, type TextareaProps, type ThemeMeta, TitleHeading, type ToastActionOptions, type ToastPlacement, type ToastType, type ToastVariants, type ToggleButtonProps, type ToggleButtonVariants, type ToggleGroupProps, type ToggleGroupRootVariants, type UrlMentionAttributes, type WhichKeyController, type WhichKeyControllerOptions, type WhichKeyExplorerProps, type WhichKeyModeBadgeVariants, type WhichKeyModeProps, type WhichKeyNode, type WhichKeyProps, type WhichKeyState, type WhichKeyTreeResult, type WhichKeyVariant, type WhichKeyVariants, type WindowPaneRegistrationProps, type YouTubeChapter, type YouTubeProps, announceCommandMessage, badgeVariants, buildChartDefinition, buildExtensions, buildWhichKeyTree, buttonVariants, cardBodyBase, cardCoverVariants, cardDescriptionBase, cardFooterBase, cardHeaderBase, cardTitleBase, cardVariants, centerBase, chartPlaceholderBase, chartPlaceholderLabelBase, chartRootBase, checkboxGroupBase, checkboxIndicatorBase, checkboxLabelBase, checkboxVariants, clipboardTriggerBase, cn, codeBlockBodyBase, codeBlockBodyScrollableBase, codeBlockContentBase, codeBlockCopyFloatBase, codeBlockHeaderBase, codeBlockHeaderInfoBase, codeBlockHighlightBase, codeBlockLineNumbersBase, codeBlockLoadingBase, codeBlockRootBase, codeBlockSpinnerBase, codeBlockTitleBase, colBase, colonCommandDialogContentBase, colonCommandErrorBase, colonCommandInputVariants, colonCommandItemVariants, colonCommandListVariants, colonCommandPositionerBase, colonCommandPrefixBase, colonCommandPromptBarVariants, colonCommandVariants, comboboxClearTriggerBase, comboboxContentBase, comboboxControlBase, comboboxEmptyBase, comboboxInputBase, comboboxItemGroupLabelBase, comboboxItemIndicatorBase, comboboxItemVariants, comboboxListBase, comboboxPositionerBase, comboboxTriggerBase, commandMenuDialogContentBase, commandMenuErrorBase, commandMenuInputVariants, commandMenuItemVariants, commandMenuListVariants, commandMenuPositionerBase, commandMenuPrefixBase, commandMenuPromptBarVariants, commandMenuVariants, commandPaletteBreadcrumbBase, commandPaletteDialogContentBase, commandPaletteFooterBase, commandPaletteHeaderBase, commandPaletteInputBase, commandPaletteItemBase, commandPaletteListBase, commandPalettePositionerBase, commandPaletteVariants, containerBase, createCodeBlockCustom, createCommandTree, createHelixPreset, createImageNode, createInternalMention, createJumplist, createKakounePreset, createLinkPreview, createNoticeNode, createUrlMention, createVimPreset, createWhichKeyController, defaultChartColor, defaultListboxFilter, dialogBackdropBase, dialogCloseTriggerBase, dialogContentBase, dialogDescriptionBase, dialogFooterBase, dialogFooterStickyBase, dialogFullscreenContentBase, dialogHeaderBase, dialogHeaderStickyBase, dialogPositionerBase, dialogTitleBase, eventToChordKeys, extractYouTubeId, feedbackCorrectBase, feedbackExplanationBase, feedbackIncorrectBase, fetchYouTubeMetadata, fieldErrorBase, fieldHelperBase, fieldLabelBase, fieldRequiredIndicatorBase, fieldRootBase, fieldsetErrorBase, fieldsetHelperBase, fieldsetLegendBase, fieldsetRootBase, figureCaptionBase, figureImageBase, figureRootBase, findDirectionalPane, findEditorScrollContainer, flattenKeymapEntries, formatColonCompletionInput, formatCommandMenuCompletionInput, formatKeyChord, formatKeySequence, formatTime, formatWhichKeyLabel, generateJumpLabels, getDocumentWhichKeyController, getEditorModalTarget, getModalEditor, getNodeChildren, getPresetKeymap, hstackBase, inferPlatform, injectCodeBlockStyles, inputVariants, insertPastedUrlAsLink, isChordCommandString, isEditorInInsertMode, isGroupNode, itemVariants, jumpBadgeMatchedPrefixBase, jumpBadgeVariants, jumpOverlayRootBase, kbdGroupBase, kbdVariants, latexDisplayBase, latexErrorBase, latexInlineBase, latexRootBase, listboxContentBase, listboxEmptyBase, listboxInputBase, listboxItemBase, listboxItemGroupBase, listboxItemGroupLabelBase, listboxItemIndicatorBase, listboxItemTextBase, listboxLabelBase, listboxRootBase, lockEditorOverlayScroll, manimCaptionBase, manimContainerBase, manimErrorBase, manimPlaceholderBase, manimPlaceholderLabelBase, manimRootBase, matchesCommandHotkey, mermaidLoadingBase, mermaidRootBase, mermaidSourceBase, mermaidSvgAspectRatio, mermaidSvgBase, modalKeymapPluginKey, nativeSelectIconBase, nativeSelectVariants, nativeSelectWrapperBase, navbarActionsBase, navbarActivationAreaBase, navbarBrandBase, navbarContainerBase, navbarDensityVariants, navbarMenuBase, navbarMenuContentBase, navbarMenuIndicatorBase, navbarMenuItemBase, navbarMenuLinkBase, navbarMenuListBase, navbarMenuPlacementVariants, navbarMenuRootBase, navbarMenuTriggerStyle, navbarMenuViewportBase, navbarMenuViewportPositionerBase, navbarMobileActionsBase, navbarMobileBase, navbarMobileContentBase, navbarMobileHeaderBase, navbarMobileMenuBase, navbarMobileMenuContentBase, navbarMobileMenuTriggerBase, navbarShrunkBase, navbarTriggerVariants, navbarVariants, nodeExplicitlyIncludesMode, nodeMatchesMode, normalizeNodeModes, noticeDescriptionBase, noticeTitleBase, noticeVariants, notifyAllModalEditors, numberInputControlBase, numberInputInputBase, numberInputRootBase, numberInputTriggerBase, pageContentBase, pageFooterBase, pageGutterAreaBase, pageGutterContentVariants, pageGutterVariants, pageSectionBase, pageVariants, paginationEllipsisBase, paginationItemBase, paginationRootBase, paginationTriggerBase, paneVariants, parseYouTubeChapters, placeEditorOverlay, placeEditorOverlayAt, popoverArrowBase, popoverCloseTriggerBase, popoverContentBase, popoverDescriptionBase, popoverIndicatorBase, popoverPositionerBase, popoverTitleBase, prevNextDirectionBase, prevNextLinkBase, prevNextLinkNextBase, prevNextRootBase, prevNextSpacerBase, prevNextTitleBase, proseVariants, questionCardBase, questionCheckButtonBase, questionGroupBase, questionInputBase, questionOptionBase, questionOptionCorrectBase, questionOptionIncorrectBase, questionPromptBase, questionUnitBase, quizHeaderBase, quizResetButtonBase, quizResultBase, quizResultTextBase, quizResultTitleBase, quizRootBase, quizScoreBase, quizSubmitButtonBase, quizTitleBase, radioGroupItemControlBase, radioGroupItemTextBase, radioGroupRootBase, registerImageInsertCallback, registerModalEditor, registerYouTubeInsertCallback, renderChartSvgString, renderCodeToHtml, renderMermaidSource, resolveColonCommandGridNavigation, resolveColonCommandGridStyle, resolveColonCommandState, resolveCommandLevel, resolveCommandMenuGridNavigation, resolveCommandMenuGridStyle, resolveCommandMenuState, resolveKbdSteps, resolveMermaidThemeVariables, resolveNode, revealChevronBase, revealContentBase, revealRootBase, revealTriggerBase, rowBase, scrollContentBase, scrollCornerBase, scrollRootBase, scrollScrollbarBase, scrollThumbBase, scrollViewportBase, selectClearTriggerBase, selectContentBase, selectIndicatorBase, selectItemBase, selectItemGroupLabelBase, selectItemIndicatorBase, selectItemTextBase, selectPositionerBase, selectTriggerBase, selectValueBase, serializeModalSliceText, shouldHandleCommandHotkey, sidebarMenuButtonVariants, sidebarStyles, slashCommands, splitHighlightSegments, splitterPanelBase, splitterResizeTriggerBase, splitterResizeTriggerIndicatorBase, splitterResizeTriggerSeparatorBase, splitterRootBase, stackBase, subscribeDocumentWhichKeyController, switchControlBase, switchLabelBase, switchThumbBase, switchVariants, tabsContentBase, tabsIndicatorBase, tabsIndicatorVariants, tabsListBase, tabsListVariants, tabsRootBase, tabsTriggerBase, tagsInputClearTriggerBase, tagsInputControlBase, tagsInputInputBase, tagsInputItemBase, tagsInputItemDeleteTriggerBase, tagsInputItemInputBase, tagsInputItemTextBase, tagsInputRootBase, textareaBase, toLaTeX, toastActionTriggerBase, toastCloseTriggerBase, toastDescriptionBase, toastIconBase, toastTitleBase, toastVariants, toasterBase, toggleButtonVariants, toggleGroupRootVariants, tooltipArrowBase, tooltipContentBase, tooltipPositionerBase, unregisterImageInsertCallback, unregisterYouTubeInsertCallback, validateKbdChord, validateKbdHotkey, vstackBase, whichKeyBodyVariants, whichKeyBreadcrumbBase, whichKeyExplorerContentBase, whichKeyExplorerHeaderBase, whichKeyExplorerHighlightMarkBase, whichKeyExplorerInputBase, whichKeyExplorerItemBase, whichKeyExplorerListContentBase, whichKeyExplorerListboxBase, whichKeyFooterBase, whichKeyHeaderBase, whichKeyItemBase, whichKeyItemLabelBase, whichKeyModeBadgeVariants, whichKeyTitleBase, whichKeyVariants, windowBodyBase, windowCloseTriggerBase, windowContentBase, windowControlBase, windowDragTriggerBase, windowHeaderBase, windowPositionerBase, windowResizeTriggerBase, windowStageTriggerBase, windowTitleBase, youtubeChapterButtonBase, youtubeChapterLabelBase, youtubeChapterTimeBase, youtubeChaptersBase, youtubeChaptersChevronBase, youtubeChaptersListBase, youtubeChaptersSummaryBase, youtubeDescriptionBase, youtubeFacadeBase, youtubePlayButtonBase, youtubePlayButtonInnerBase, youtubeRootBase, youtubeTitleBase };
1495
+ export { type BadgeProps, type BadgeVariants, type BuildExtensionsOptions, type ButtonProps, type ButtonVariants, type CardCoverProps, type CardProps, type CardVariants, type ChartProps, type ChartSeries, type CheckboxProps, type CheckboxVariants, type CodeBlockProps, type ComboboxItemVariants, type ComboboxProps, DEFAULT_JUMP_ALPHABET, DEFAULT_THEME, type EditorCounts, EditorHeading, type EditorNodeViews, type EditorSeams, ExitHeading, type FigureProps, type FileEntry, HeadingWithId, type ImageUploadResult, type InputProps, type InputVariants, type ItemProps, type ItemVariants, type JumpAction, type JumpTarget, Jumplist, type JumplistEntry, type KeybindingPreset, type KeymapCommandContext, type KeymapExplorerEntry, type KeymapHandler, type KeymapMode, type KeymapNodesInput, type KeymapPriority, type LaTeXProps, type LanguageTab, type LightSwitchBaseProps, type LightSwitchButtonVariants, type LinkPreviewAttributes, type LinkPreviewFetcher, type ListboxItemData, type ManimModule, type ManimProps, type ManimRecordingScene, type MentionItem, type MentionListElement, type MermaidProps, type ModalEditorTarget, ModalKeymap, type ModalKeymapOptions, type ModalKeymapPluginState, type ModalKeymapStorage, type ModalMotion, type ModalOperator, type ModalSelectionTransform, type ModalTextObjectSpec, type MultipleChoiceQuestionData, type NativeSelectVariants, type NavbarDensity, type NavbarMenuDensity, type NavbarMenuVariant, type NavbarVariant, type NodeViewFactory, type NoticeAttributes, type NoticeProps, type NoticeVariant, type NoticeVariants, type NumberInputProps, type NumericQuestionData, type OverlayPlacementOptions, type OverlayPosition, type PageGutterContentVariants, type PageGutterVariants, type PagePaneRegistrationProps, type PageVariants, type PaneDirection, type PaneProps, type PaneRect, type PaneRegistration, type PaneRegistrationProps, type PrevNextProps, type ProseProps, type ProseVariants, type Question, type RegisterKeymapOptions, type RevealProps, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDGET_DEFAULT_SNAP_POINT, SIDEBAR_WIDGET_SNAP_POINTS, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, type SecondaryCursorRange, type SelectItemData, type SelectProps, type SidebarContextProps, type SidebarMenuButtonVariants, type SidebarPaneRegistrationProps, type SingleChoiceQuestionData, type SlashCommandItem, type SplitterPanelPaneRegistrationProps, type SwitchProps, type SwitchVariants, THEMES, THEME_CLASS_PREFIX, THEME_NAMES, type TabsIndicatorVariants, type TabsListVariants, type TagsInputProps, type TextareaProps, type ThemeController, type ThemeMeta, type ThemeMode, type ThemeName, type ThemeSelectorBaseProps, type ThemeSelectorSwatchVariants, type ThemeServiceOptions, TitleHeading, type ToastActionOptions, type ToastPlacement, type ToastType, type ToastVariants, type ToggleButtonProps, type ToggleButtonVariants, type ToggleGroupProps, type ToggleGroupRootVariants, type UrlMentionAttributes, type UseThemeOptions, type WhichKeyController, type WhichKeyControllerOptions, type WhichKeyExplorerProps, type WhichKeyModeBadgeVariants, type WhichKeyModeProps, type WhichKeyNode, type WhichKeyProps, type WhichKeyState, type WhichKeyTreeResult, type WhichKeyVariant, type WhichKeyVariants, type WindowPaneRegistrationProps, type YouTubeChapter, type YouTubeProps, badgeVariants, buildChartDefinition, buildExtensions, buildWhichKeyTree, buttonVariants, captureDialogFocusTarget, cardBodyBase, cardCoverVariants, cardDescriptionBase, cardFooterBase, cardHeaderBase, cardTitleBase, cardVariants, centerBase, chartPlaceholderBase, chartPlaceholderLabelBase, chartRootBase, checkboxGroupBase, checkboxIndicatorBase, checkboxLabelBase, checkboxVariants, clipboardTriggerBase, cn, codeBlockBodyBase, codeBlockBodyScrollableBase, codeBlockContentBase, codeBlockCopyFloatBase, codeBlockHeaderBase, codeBlockHeaderInfoBase, codeBlockHighlightBase, codeBlockLineNumbersBase, codeBlockLoadingBase, codeBlockRootBase, codeBlockSpinnerBase, codeBlockTitleBase, colBase, comboboxClearTriggerBase, comboboxContentBase, comboboxControlBase, comboboxEmptyBase, comboboxInputBase, comboboxItemGroupLabelBase, comboboxItemIndicatorBase, comboboxItemVariants, comboboxListBase, comboboxPositionerBase, comboboxTriggerBase, containerBase, createCodeBlockCustom, createHelixPreset, createImageNode, createInternalMention, createJumplist, createKakounePreset, createLinkPreview, createNoticeNode, createUrlMention, createVimPreset, createWhichKeyController, cycleThemeModeValue, defaultChartColor, defaultListboxFilter, dialogBackdropBase, dialogCloseTriggerBase, dialogContentBase, dialogDescriptionBase, dialogFooterBase, dialogFooterStickyBase, dialogFullscreenContentBase, dialogHeaderBase, dialogHeaderStickyBase, dialogPositionerBase, dialogStyles, dialogTitleBase, eventToChordKeys, extractYouTubeId, feedbackCorrectBase, feedbackExplanationBase, feedbackIncorrectBase, fetchYouTubeMetadata, fieldErrorBase, fieldHelperBase, fieldLabelBase, fieldRequiredIndicatorBase, fieldRootBase, fieldsetErrorBase, fieldsetHelperBase, fieldsetLegendBase, fieldsetRootBase, figureCaptionBase, figureImageBase, figureRootBase, findDirectionalPane, findEditorScrollContainer, flattenKeymapEntries, formatTime, formatWhichKeyLabel, generateJumpLabels, getDocumentWhichKeyController, getEditorModalTarget, getModalEditor, getNodeChildren, getPresetKeymap, hasThemeCss, hstackBase, injectCodeBlockStyles, inputVariants, insertPastedUrlAsLink, isEditorInInsertMode, isGroupNode, itemVariants, jumpBadgeMatchedPrefixBase, jumpBadgeVariants, jumpOverlayRootBase, latexDisplayBase, latexErrorBase, latexInlineBase, latexRootBase, lightSwitchButtonVariants, listboxContentBase, listboxEmptyBase, listboxInputBase, listboxItemBase, listboxItemGroupBase, listboxItemGroupLabelBase, listboxItemIndicatorBase, listboxItemTextBase, listboxLabelBase, listboxRootBase, lockEditorOverlayScroll, manimCaptionBase, manimContainerBase, manimErrorBase, manimPlaceholderBase, manimPlaceholderLabelBase, manimRootBase, mergeThemePresets, mermaidLoadingBase, mermaidRootBase, mermaidSourceBase, mermaidSvgAspectRatio, mermaidSvgBase, modalKeymapPluginKey, nativeSelectIconBase, nativeSelectVariants, nativeSelectWrapperBase, navbarActionsBase, navbarActivationAreaBase, navbarBrandBase, navbarContainerBase, navbarDensityVariants, navbarMenuBase, navbarMenuContentBase, navbarMenuIndicatorBase, navbarMenuItemBase, navbarMenuLinkBase, navbarMenuListBase, navbarMenuPlacementVariants, navbarMenuRootBase, navbarMenuTriggerStyle, navbarMenuViewportBase, navbarMenuViewportPositionerBase, navbarMobileActionsBase, navbarMobileBase, navbarMobileContentBase, navbarMobileHeaderBase, navbarMobileMenuBase, navbarMobileMenuContentBase, navbarMobileMenuTriggerBase, navbarShrunkBase, navbarTriggerVariants, navbarVariants, nodeExplicitlyIncludesMode, nodeMatchesMode, normalizeNodeModes, noticeDescriptionBase, noticeTitleBase, noticeVariants, notifyAllModalEditors, numberInputControlBase, numberInputInputBase, numberInputRootBase, numberInputTriggerBase, pageContentBase, pageFooterBase, pageGutterAreaBase, pageGutterContentVariants, pageGutterVariants, pageSectionBase, pageVariants, paginationEllipsisBase, paginationItemBase, paginationRootBase, paginationTriggerBase, paneVariants, parseYouTubeChapters, placeEditorOverlay, placeEditorOverlayAt, popoverArrowBase, popoverCloseTriggerBase, popoverContentBase, popoverDescriptionBase, popoverIndicatorBase, popoverPositionerBase, popoverTitleBase, prevNextDirectionBase, prevNextLinkBase, prevNextLinkNextBase, prevNextRootBase, prevNextSpacerBase, prevNextTitleBase, proseVariants, questionCardBase, questionCheckButtonBase, questionGroupBase, questionInputBase, questionOptionBase, questionOptionCorrectBase, questionOptionIncorrectBase, questionPromptBase, questionUnitBase, quizHeaderBase, quizResetButtonBase, quizResultBase, quizResultTextBase, quizResultTitleBase, quizRootBase, quizScoreBase, quizSubmitButtonBase, quizTitleBase, radioGroupItemControlBase, radioGroupItemTextBase, radioGroupRootBase, readDocumentDarkMode, readDocumentTheme, readSystemDarkMode, registerCustomThemes, registerImageInsertCallback, registerModalEditor, registerYouTubeInsertCallback, renderChartSvgString, renderCodeToHtml, renderMermaidSource, resolveMermaidThemeVariables, resolveNode, restoreDialogFocusTarget, revealChevronBase, revealContentBase, revealRootBase, revealTriggerBase, rowBase, scrollContentBase, scrollCornerBase, scrollRootBase, scrollScrollbarBase, scrollThumbBase, scrollViewportBase, selectClearTriggerBase, selectContentBase, selectIndicatorBase, selectItemBase, selectItemGroupLabelBase, selectItemIndicatorBase, selectItemTextBase, selectPositionerBase, selectTriggerBase, selectValueBase, serializeModalSliceText, sidebarMenuButtonVariants, sidebarStyles, slashCommands, splitterPanelBase, splitterResizeTriggerBase, splitterResizeTriggerIndicatorBase, splitterResizeTriggerSeparatorBase, splitterRootBase, stackBase, subscribeDocumentTheme, subscribeDocumentWhichKeyController, subscribeSystemDarkMode, switchControlBase, switchLabelBase, switchThumbBase, switchVariants, syncDocumentDarkMode, syncDocumentTheme, tabsContentBase, tabsIndicatorBase, tabsIndicatorVariants, tabsListBase, tabsListVariants, tabsRootBase, tabsTriggerBase, tagsInputClearTriggerBase, tagsInputControlBase, tagsInputInputBase, tagsInputItemBase, tagsInputItemDeleteTriggerBase, tagsInputItemInputBase, tagsInputItemTextBase, tagsInputRootBase, textareaBase, themeSelectorStyles, toLaTeX, toastActionTriggerBase, toastCloseTriggerBase, toastDescriptionBase, toastIconBase, toastTitleBase, toastVariants, toasterBase, toggleButtonVariants, toggleGroupRootVariants, tooltipArrowBase, tooltipContentBase, tooltipPositionerBase, unregisterImageInsertCallback, unregisterYouTubeInsertCallback, vstackBase, whichKeyBodyVariants, whichKeyBreadcrumbBase, whichKeyExplorerContentBase, whichKeyExplorerHeaderBase, whichKeyExplorerHighlightMarkBase, whichKeyExplorerInputBase, whichKeyExplorerItemBase, whichKeyExplorerListContentBase, whichKeyExplorerListboxBase, whichKeyFooterBase, whichKeyHeaderBase, whichKeyItemBase, whichKeyItemLabelBase, whichKeyModeBadgeVariants, whichKeyTitleBase, whichKeyVariants, windowBodyBase, windowCloseTriggerBase, windowContentBase, windowControlBase, windowDragTriggerBase, windowHeaderBase, windowPositionerBase, windowResizeTriggerBase, windowStageTriggerBase, windowTitleBase, youtubeChapterButtonBase, youtubeChapterLabelBase, youtubeChapterTimeBase, youtubeChaptersBase, youtubeChaptersChevronBase, youtubeChaptersListBase, youtubeChaptersSummaryBase, youtubeDescriptionBase, youtubeFacadeBase, youtubePlayButtonBase, youtubePlayButtonInnerBase, youtubeRootBase, youtubeTitleBase };