@tallyui/primitives 0.1.0

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.
Files changed (128) hide show
  1. package/dist/index.d.ts +1370 -0
  2. package/dist/index.js +3954 -0
  3. package/package.json +47 -0
  4. package/src/__tests__/accordion.test.tsx +370 -0
  5. package/src/__tests__/alert-dialog.test.tsx +127 -0
  6. package/src/__tests__/animated.test.tsx +184 -0
  7. package/src/__tests__/checkbox.test.tsx +90 -0
  8. package/src/__tests__/collapsible.test.tsx +149 -0
  9. package/src/__tests__/combobox.test.tsx +292 -0
  10. package/src/__tests__/context-menu.test.tsx +226 -0
  11. package/src/__tests__/dialog.test.tsx +81 -0
  12. package/src/__tests__/dropdown-menu.test.tsx +119 -0
  13. package/src/__tests__/hooks.test.tsx +46 -0
  14. package/src/__tests__/hover-card.test.tsx +77 -0
  15. package/src/__tests__/image.test.tsx +53 -0
  16. package/src/__tests__/label.test.tsx +50 -0
  17. package/src/__tests__/list.test.tsx +63 -0
  18. package/src/__tests__/popover.test.tsx +63 -0
  19. package/src/__tests__/portal.test.tsx +66 -0
  20. package/src/__tests__/progress.test.tsx +70 -0
  21. package/src/__tests__/radio-group.test.tsx +164 -0
  22. package/src/__tests__/select.test.tsx +76 -0
  23. package/src/__tests__/separator.test.tsx +37 -0
  24. package/src/__tests__/slider.test.tsx +124 -0
  25. package/src/__tests__/slot.test.tsx +56 -0
  26. package/src/__tests__/switch.test.tsx +70 -0
  27. package/src/__tests__/table.test.tsx +172 -0
  28. package/src/__tests__/tabs.test.tsx +67 -0
  29. package/src/__tests__/text.test.tsx +59 -0
  30. package/src/__tests__/toast.test.tsx +137 -0
  31. package/src/__tests__/toggle-group.test.tsx +167 -0
  32. package/src/__tests__/toggle.test.tsx +60 -0
  33. package/src/__tests__/tooltip.test.tsx +77 -0
  34. package/src/__tests__/types.test-d.ts +106 -0
  35. package/src/__tests__/utils.test.ts +47 -0
  36. package/src/accordion/accordion.tsx +232 -0
  37. package/src/accordion/index.ts +12 -0
  38. package/src/accordion/types.ts +56 -0
  39. package/src/alert-dialog/alert-dialog.tsx +296 -0
  40. package/src/alert-dialog/index.ts +25 -0
  41. package/src/alert-dialog/types.ts +50 -0
  42. package/src/animated/index.ts +3 -0
  43. package/src/animated/presence.tsx +27 -0
  44. package/src/animated/types.ts +36 -0
  45. package/src/animated/use-presence.ts +44 -0
  46. package/src/checkbox/checkbox.tsx +106 -0
  47. package/src/checkbox/index.ts +2 -0
  48. package/src/checkbox/types.ts +19 -0
  49. package/src/collapsible/collapsible.tsx +135 -0
  50. package/src/collapsible/index.ts +2 -0
  51. package/src/collapsible/types.ts +25 -0
  52. package/src/combobox/combobox.tsx +325 -0
  53. package/src/combobox/index.ts +24 -0
  54. package/src/combobox/types.ts +84 -0
  55. package/src/context-menu/context-menu.tsx +654 -0
  56. package/src/context-menu/index.ts +40 -0
  57. package/src/context-menu/types.ts +117 -0
  58. package/src/dialog/dialog.tsx +260 -0
  59. package/src/dialog/index.ts +23 -0
  60. package/src/dialog/types.ts +47 -0
  61. package/src/dropdown-menu/dropdown-menu.tsx +654 -0
  62. package/src/dropdown-menu/index.ts +40 -0
  63. package/src/dropdown-menu/types.ts +117 -0
  64. package/src/hooks/index.ts +6 -0
  65. package/src/hooks/use-augmented-ref.ts +32 -0
  66. package/src/hooks/use-controllable-state.ts +87 -0
  67. package/src/hooks/use-relative-position.ts +253 -0
  68. package/src/hooks/use-relative-position.web.ts +9 -0
  69. package/src/hover-card/hover-card.tsx +271 -0
  70. package/src/hover-card/index.ts +17 -0
  71. package/src/hover-card/types.ts +50 -0
  72. package/src/image/image.tsx +29 -0
  73. package/src/image/index.ts +2 -0
  74. package/src/image/types.ts +10 -0
  75. package/src/index.ts +38 -0
  76. package/src/label/index.ts +2 -0
  77. package/src/label/label.tsx +45 -0
  78. package/src/label/types.ts +11 -0
  79. package/src/list/index.ts +2 -0
  80. package/src/list/list.tsx +54 -0
  81. package/src/list/types.ts +14 -0
  82. package/src/popover/index.ts +19 -0
  83. package/src/popover/popover.tsx +314 -0
  84. package/src/popover/types.ts +51 -0
  85. package/src/portal.tsx +60 -0
  86. package/src/progress/index.ts +2 -0
  87. package/src/progress/progress.tsx +92 -0
  88. package/src/progress/types.ts +16 -0
  89. package/src/radio-group/index.ts +2 -0
  90. package/src/radio-group/radio-group.tsx +160 -0
  91. package/src/radio-group/types.ts +31 -0
  92. package/src/select/index.ts +34 -0
  93. package/src/select/select.tsx +465 -0
  94. package/src/select/types.ts +112 -0
  95. package/src/separator/index.ts +2 -0
  96. package/src/separator/separator.tsx +32 -0
  97. package/src/separator/types.ts +8 -0
  98. package/src/slider/index.ts +2 -0
  99. package/src/slider/slider.tsx +139 -0
  100. package/src/slider/types.ts +35 -0
  101. package/src/slot.tsx +160 -0
  102. package/src/switch/index.ts +2 -0
  103. package/src/switch/switch.tsx +92 -0
  104. package/src/switch/types.ts +18 -0
  105. package/src/table/index.ts +12 -0
  106. package/src/table/table.tsx +160 -0
  107. package/src/table/types.ts +30 -0
  108. package/src/tabs/index.ts +15 -0
  109. package/src/tabs/tabs.tsx +140 -0
  110. package/src/tabs/types.ts +36 -0
  111. package/src/text/index.ts +2 -0
  112. package/src/text/text.tsx +40 -0
  113. package/src/text/types.ts +5 -0
  114. package/src/toast/index.ts +2 -0
  115. package/src/toast/toast.tsx +189 -0
  116. package/src/toast/types.ts +35 -0
  117. package/src/toggle/index.ts +2 -0
  118. package/src/toggle/toggle.tsx +59 -0
  119. package/src/toggle/types.ts +11 -0
  120. package/src/toggle-group/index.ts +2 -0
  121. package/src/toggle-group/toggle-group.tsx +123 -0
  122. package/src/toggle-group/types.ts +36 -0
  123. package/src/tooltip/index.ts +17 -0
  124. package/src/tooltip/tooltip.tsx +272 -0
  125. package/src/tooltip/types.ts +49 -0
  126. package/src/types.ts +129 -0
  127. package/src/uniwind-env.d.ts +31 -0
  128. package/src/utils.ts +67 -0
@@ -0,0 +1,1370 @@
1
+ import { ViewProps, View, PressableProps, TextProps, Text, Image, ImageProps, ScaledSize, LayoutRectangle, ViewStyle, GestureResponderEvent, FlatListProps, FlatList, ImageSourcePropType } from 'react-native';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as React$1 from 'react';
4
+ import React__default from 'react';
5
+ import { Table } from '@tanstack/react-table';
6
+
7
+ /**
8
+ * Flattens intersection types into a single object type for better
9
+ * readability in IDE tooltips and error messages.
10
+ */
11
+ type Prettify<T> = {
12
+ [K in keyof T]: T[K];
13
+ } & {};
14
+ /**
15
+ * Adds the `asChild` prop to any type. When true, the component merges
16
+ * its props onto its single child element instead of rendering a wrapper.
17
+ */
18
+ type Slottable<T> = Prettify<T & {
19
+ asChild?: boolean | undefined;
20
+ }>;
21
+ type SlottableViewProps = Slottable<ViewProps> & {
22
+ ref?: ViewRef;
23
+ };
24
+ type SlottablePressableProps = Slottable<PressableProps> & {
25
+ ref?: PressableRef;
26
+ /** Platform: WEB ONLY */
27
+ onKeyDown?: (ev: React.KeyboardEvent) => void;
28
+ /** Platform: WEB ONLY */
29
+ onKeyUp?: (ev: React.KeyboardEvent) => void;
30
+ };
31
+ type SlottableTextProps = Slottable<TextProps> & {
32
+ ref?: TextRef;
33
+ };
34
+ type SlottableImageProps = Slottable<ImageProps> & {
35
+ ref?: ImageRef;
36
+ };
37
+ type ViewRef = React.RefObject<View | null>;
38
+ type PressableRef = React.RefObject<View | null>;
39
+ type TextRef = React.RefObject<Text | null>;
40
+ type ImageRef = React.RefObject<Image | null>;
41
+ interface Insets {
42
+ top?: number;
43
+ bottom?: number;
44
+ left?: number;
45
+ right?: number;
46
+ }
47
+ type PointerDownOutsideEvent = CustomEvent<{
48
+ originalEvent: PointerEvent;
49
+ }>;
50
+ type FocusOutsideEvent = CustomEvent<{
51
+ originalEvent: FocusEvent;
52
+ }>;
53
+ /**
54
+ * Props shared by positioned overlay content (popovers, dropdown menus,
55
+ * selects, etc.) that need to anchor relative to a trigger.
56
+ */
57
+ interface PositionedContentProps {
58
+ forceMount?: true | undefined;
59
+ alignOffset?: number;
60
+ insets?: Insets;
61
+ avoidCollisions?: boolean;
62
+ align?: 'start' | 'center' | 'end';
63
+ side?: 'top' | 'bottom';
64
+ sideOffset?: number;
65
+ /** Platform: NATIVE ONLY */
66
+ disablePositioningStyle?: boolean;
67
+ /** Platform: WEB ONLY */
68
+ loop?: boolean;
69
+ /** Platform: WEB ONLY */
70
+ onCloseAutoFocus?: (event: Event) => void;
71
+ /** Platform: WEB ONLY */
72
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
73
+ /** Platform: WEB ONLY */
74
+ onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
75
+ /** Platform: WEB ONLY */
76
+ onFocusOutside?: (event: FocusOutsideEvent) => void;
77
+ /** Platform: WEB ONLY */
78
+ onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
79
+ /** Platform: WEB ONLY */
80
+ collisionBoundary?: Element | null | Array<Element | null>;
81
+ /** Platform: WEB ONLY */
82
+ sticky?: 'partial' | 'always';
83
+ /** Platform: WEB ONLY */
84
+ hideWhenDetached?: boolean;
85
+ }
86
+ interface ForceMountable {
87
+ forceMount?: true | undefined;
88
+ }
89
+
90
+ /**
91
+ * Combines multiple refs into a single callback ref that sets all of them.
92
+ */
93
+ declare function composeRefs<T>(...refs: (React$1.Ref<T> | undefined)[]): (node: T) => void;
94
+ type AnyProps = Record<string, any>;
95
+ /**
96
+ * Merges slot props with child props. Event handlers (on*) are composed so
97
+ * both fire. Styles are merged via combineStyles. className strings are joined
98
+ * with a space. Everything else: child overrides slot.
99
+ */
100
+ declare function mergeProps(slotProps: AnyProps, childProps: AnyProps): {
101
+ [x: string]: any;
102
+ };
103
+ /**
104
+ * Slot implements the "asChild" composition pattern. It renders its single
105
+ * child element while merging the Slot's own props and ref onto it. This lets
106
+ * a parent component define behavior (event handlers, accessibility props, etc.)
107
+ * while the consumer controls the rendered element.
108
+ *
109
+ * Throws if the child is plain text (must be a valid React element).
110
+ */
111
+ declare function Slot<T extends React$1.ElementType>(props: React$1.ComponentProps<T>): react_jsx_runtime.JSX.Element | null;
112
+ declare namespace Slot {
113
+ var displayName: string;
114
+ }
115
+
116
+ type UseControllableStateParams<T> = {
117
+ prop?: T | undefined;
118
+ defaultProp?: T | undefined;
119
+ onChange?: (state: T) => void;
120
+ };
121
+ declare function useControllableState<T>({ prop, defaultProp, onChange, }: UseControllableStateParams<T>): readonly [T | undefined, React$1.Dispatch<React$1.SetStateAction<T | undefined>>];
122
+
123
+ interface AugmentRefProps<T> {
124
+ ref?: React$1.Ref<T>;
125
+ methods?: Record<string, (...args: any[]) => any>;
126
+ deps?: any[];
127
+ }
128
+ declare function useAugmentedRef<T>({ ref, methods, deps, }: AugmentRefProps<T>): React$1.RefObject<T | null>;
129
+
130
+ type UseRelativePositionArgs = Omit<GetContentStyleArgs, 'triggerPosition' | 'contentLayout' | 'dimensions'> & {
131
+ triggerPosition: LayoutPosition | null;
132
+ contentLayout: LayoutRectangle | null;
133
+ disablePositioningStyle?: boolean;
134
+ };
135
+ declare function useRelativePosition({ align, avoidCollisions, triggerPosition, contentLayout, alignOffset, insets, sideOffset, side, disablePositioningStyle, }: UseRelativePositionArgs): ViewStyle;
136
+ interface LayoutPosition {
137
+ pageY: number;
138
+ pageX: number;
139
+ width: number;
140
+ height: number;
141
+ }
142
+ interface GetPositionArgs {
143
+ dimensions: ScaledSize;
144
+ avoidCollisions: boolean;
145
+ triggerPosition: LayoutPosition;
146
+ contentLayout: LayoutRectangle;
147
+ insets?: Insets;
148
+ }
149
+ interface GetSidePositionArgs extends GetPositionArgs {
150
+ side: 'top' | 'bottom';
151
+ sideOffset: number;
152
+ }
153
+ interface GetAlignPositionArgs extends GetPositionArgs {
154
+ align: 'start' | 'center' | 'end';
155
+ alignOffset: number;
156
+ }
157
+ type GetContentStyleArgs = GetPositionArgs & GetSidePositionArgs & GetAlignPositionArgs;
158
+
159
+ declare function PortalHost({ name }: {
160
+ name?: string;
161
+ }): react_jsx_runtime.JSX.Element | null;
162
+ declare function Portal$9({ name, hostName, children, }: {
163
+ name: string;
164
+ hostName?: string;
165
+ children: React$1.ReactNode;
166
+ }): null;
167
+
168
+ /**
169
+ * State management utilities for toggle groups.
170
+ * Handles single-select and multi-select value toggling.
171
+ */
172
+ declare const toggleGroupUtils: {
173
+ getIsSelected(value: string | string[] | undefined, itemValue: string): boolean;
174
+ getNewSingleValue(original: string | string[] | undefined, itemValue: string): string | undefined;
175
+ getNewMultipleValue(original: string | string[] | undefined, itemValue: string): string[];
176
+ };
177
+ /**
178
+ * Mock GestureResponderEvent for use when synthesizing events
179
+ * from keyboard interactions or other non-touch sources.
180
+ */
181
+ declare const EmptyGestureResponderEvent: GestureResponderEvent;
182
+
183
+ /**
184
+ * Configuration for an enter/exit animation.
185
+ */
186
+ interface AnimationConfig {
187
+ /** Style when entering (becoming visible) */
188
+ entering?: ViewStyle;
189
+ /** Style when exiting (becoming hidden) */
190
+ exiting?: ViewStyle;
191
+ /** Duration in ms */
192
+ duration?: number;
193
+ }
194
+ /**
195
+ * Props for the Presence component that manages mount/unmount transitions.
196
+ */
197
+ interface PresenceProps {
198
+ /** Whether the content should be visible */
199
+ present: boolean;
200
+ /** If true, always keep in DOM (but animate opacity/transform) */
201
+ forceMount?: boolean;
202
+ children: React.ReactNode | ((props: {
203
+ present: boolean;
204
+ }) => React.ReactNode);
205
+ }
206
+ /**
207
+ * Return type for usePresence hook
208
+ */
209
+ interface PresenceState {
210
+ /** Whether the content is currently mounted (may lag behind `present` for exit animations) */
211
+ isPresent: boolean;
212
+ /** Ref callback to attach to the animated element */
213
+ ref: React.RefCallback<any>;
214
+ }
215
+
216
+ /**
217
+ * Manages mount/unmount transitions for children.
218
+ * Keeps children mounted during exit animations.
219
+ */
220
+ declare function Presence({ present, forceMount, children }: PresenceProps): react_jsx_runtime.JSX.Element | null;
221
+ declare namespace Presence {
222
+ var displayName: string;
223
+ }
224
+
225
+ /**
226
+ * Manages presence state for animated mount/unmount transitions.
227
+ *
228
+ * When `present` changes from true to false, `isPresent` stays true
229
+ * for `exitDuration` ms to allow exit animations to complete.
230
+ */
231
+ declare function usePresence(present: boolean, exitDuration?: number): PresenceState;
232
+
233
+ type index$q_AnimationConfig = AnimationConfig;
234
+ declare const index$q_Presence: typeof Presence;
235
+ type index$q_PresenceProps = PresenceProps;
236
+ type index$q_PresenceState = PresenceState;
237
+ declare const index$q_usePresence: typeof usePresence;
238
+ declare namespace index$q {
239
+ export { type index$q_AnimationConfig as AnimationConfig, index$q_Presence as Presence, type index$q_PresenceProps as PresenceProps, type index$q_PresenceState as PresenceState, index$q_usePresence as usePresence };
240
+ }
241
+
242
+ interface RootProps$n {
243
+ open?: boolean;
244
+ defaultOpen?: boolean;
245
+ onOpenChange?: (open: boolean) => void;
246
+ children?: React.ReactNode;
247
+ }
248
+ interface TriggerProps$b extends SlottablePressableProps {
249
+ }
250
+ interface PortalProps$8 extends ForceMountable {
251
+ hostName?: string;
252
+ children?: React.ReactNode;
253
+ }
254
+ interface OverlayProps$7 extends SlottableViewProps, ForceMountable {
255
+ }
256
+ interface ContentProps$b extends SlottableViewProps, ForceMountable {
257
+ }
258
+ interface TitleProps$2 extends SlottableTextProps {
259
+ }
260
+ interface DescriptionProps$2 extends SlottableTextProps {
261
+ }
262
+ interface ActionProps$1 extends SlottablePressableProps {
263
+ }
264
+ interface CancelProps extends SlottablePressableProps {
265
+ }
266
+ interface RootContext$k {
267
+ open: boolean;
268
+ onOpenChange: (open: boolean) => void;
269
+ }
270
+
271
+ declare function useRootContext$k(): RootContext$k;
272
+ declare function Root$p({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$n): react_jsx_runtime.JSX.Element;
273
+ declare namespace Root$p {
274
+ var displayName: string;
275
+ }
276
+ declare const Trigger$b: React$1.ForwardRefExoticComponent<Omit<TriggerProps$b, "ref"> & React$1.RefAttributes<View>>;
277
+ declare function Portal$8({ forceMount, hostName, children }: PortalProps$8): react_jsx_runtime.JSX.Element | null;
278
+ declare namespace Portal$8 {
279
+ var displayName: string;
280
+ }
281
+ declare const Overlay$7: React$1.ForwardRefExoticComponent<Omit<OverlayProps$7, "ref"> & React$1.RefAttributes<View>>;
282
+ declare const Content$b: React$1.ForwardRefExoticComponent<Omit<ContentProps$b, "ref"> & React$1.RefAttributes<View>>;
283
+ declare const Title$2: React$1.ForwardRefExoticComponent<Omit<TitleProps$2, "ref"> & React$1.RefAttributes<Text>>;
284
+ declare const Description$2: React$1.ForwardRefExoticComponent<Omit<DescriptionProps$2, "ref"> & React$1.RefAttributes<Text>>;
285
+ declare const Action$1: React$1.ForwardRefExoticComponent<Omit<ActionProps$1, "ref"> & React$1.RefAttributes<View>>;
286
+ declare const Cancel: React$1.ForwardRefExoticComponent<Omit<CancelProps, "ref"> & React$1.RefAttributes<View>>;
287
+
288
+ declare const index$p_Cancel: typeof Cancel;
289
+ type index$p_CancelProps = CancelProps;
290
+ declare namespace index$p {
291
+ export { Action$1 as Action, type ActionProps$1 as ActionProps, index$p_Cancel as Cancel, type index$p_CancelProps as CancelProps, Content$b as Content, type ContentProps$b as ContentProps, Description$2 as Description, type DescriptionProps$2 as DescriptionProps, Overlay$7 as Overlay, type OverlayProps$7 as OverlayProps, Portal$8 as Portal, type PortalProps$8 as PortalProps, Root$p as Root, type RootContext$k as RootContext, type RootProps$n as RootProps, Title$2 as Title, type TitleProps$2 as TitleProps, Trigger$b as Trigger, type TriggerProps$b as TriggerProps, useRootContext$k as useRootContext };
292
+ }
293
+
294
+ interface RootProps$m {
295
+ open?: boolean;
296
+ defaultOpen?: boolean;
297
+ onOpenChange?: (open: boolean) => void;
298
+ children?: React.ReactNode;
299
+ }
300
+ interface TriggerProps$a extends SlottablePressableProps {
301
+ }
302
+ interface PortalProps$7 extends ForceMountable {
303
+ hostName?: string;
304
+ children?: React.ReactNode;
305
+ }
306
+ interface OverlayProps$6 extends SlottableViewProps, ForceMountable {
307
+ }
308
+ interface ContentProps$a extends SlottableViewProps, ForceMountable {
309
+ }
310
+ interface TitleProps$1 extends SlottableTextProps {
311
+ }
312
+ interface DescriptionProps$1 extends SlottableTextProps {
313
+ }
314
+ interface CloseProps$2 extends SlottablePressableProps {
315
+ }
316
+ interface RootContext$j {
317
+ open: boolean;
318
+ onOpenChange: (open: boolean) => void;
319
+ }
320
+
321
+ declare function useRootContext$j(): RootContext$j;
322
+ declare function Root$o({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$m): react_jsx_runtime.JSX.Element;
323
+ declare namespace Root$o {
324
+ var displayName: string;
325
+ }
326
+ declare const Trigger$a: React$1.ForwardRefExoticComponent<Omit<TriggerProps$a, "ref"> & React$1.RefAttributes<View>>;
327
+ declare function Portal$7({ forceMount, hostName, children }: PortalProps$7): react_jsx_runtime.JSX.Element | null;
328
+ declare namespace Portal$7 {
329
+ var displayName: string;
330
+ }
331
+ declare const Overlay$6: React$1.ForwardRefExoticComponent<Omit<OverlayProps$6, "ref"> & React$1.RefAttributes<View>>;
332
+ declare const Content$a: React$1.ForwardRefExoticComponent<Omit<ContentProps$a, "ref"> & React$1.RefAttributes<View>>;
333
+ declare const Title$1: React$1.ForwardRefExoticComponent<Omit<TitleProps$1, "ref"> & React$1.RefAttributes<Text>>;
334
+ declare const Description$1: React$1.ForwardRefExoticComponent<Omit<DescriptionProps$1, "ref"> & React$1.RefAttributes<Text>>;
335
+ declare const Close$2: React$1.ForwardRefExoticComponent<Omit<CloseProps$2, "ref"> & React$1.RefAttributes<View>>;
336
+
337
+ declare namespace index$o {
338
+ export { Close$2 as Close, type CloseProps$2 as CloseProps, Content$a as Content, type ContentProps$a as ContentProps, Description$1 as Description, type DescriptionProps$1 as DescriptionProps, Overlay$6 as Overlay, type OverlayProps$6 as OverlayProps, Portal$7 as Portal, type PortalProps$7 as PortalProps, Root$o as Root, type RootContext$j as RootContext, type RootProps$m as RootProps, Title$1 as Title, type TitleProps$1 as TitleProps, Trigger$a as Trigger, type TriggerProps$a as TriggerProps, useRootContext$j as useRootContext };
339
+ }
340
+
341
+ interface RootProps$l {
342
+ open?: boolean;
343
+ defaultOpen?: boolean;
344
+ onOpenChange?: (open: boolean) => void;
345
+ children?: React.ReactNode;
346
+ }
347
+ interface TriggerProps$9 extends SlottablePressableProps {
348
+ }
349
+ interface PortalProps$6 extends ForceMountable {
350
+ hostName?: string;
351
+ children?: React.ReactNode;
352
+ }
353
+ interface OverlayProps$5 extends SlottablePressableProps, ForceMountable {
354
+ closeOnPress?: boolean;
355
+ }
356
+ interface ContentProps$9 extends SlottableViewProps, PositionedContentProps {
357
+ }
358
+ interface CloseProps$1 extends SlottablePressableProps {
359
+ }
360
+ interface RootContext$i {
361
+ open: boolean;
362
+ onOpenChange: (open: boolean) => void;
363
+ triggerPosition: LayoutPosition | null;
364
+ setTriggerPosition: (position: LayoutPosition | null) => void;
365
+ contentLayout: LayoutRectangle | null;
366
+ setContentLayout: (layout: LayoutRectangle | null) => void;
367
+ }
368
+
369
+ declare function useRootContext$i(): RootContext$i;
370
+ declare function Root$n({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$l): react_jsx_runtime.JSX.Element;
371
+ declare namespace Root$n {
372
+ var displayName: string;
373
+ }
374
+ declare const Trigger$9: React$1.ForwardRefExoticComponent<Omit<TriggerProps$9, "ref"> & React$1.RefAttributes<View>>;
375
+ declare function Portal$6({ forceMount, hostName, children }: PortalProps$6): react_jsx_runtime.JSX.Element | null;
376
+ declare namespace Portal$6 {
377
+ var displayName: string;
378
+ }
379
+ declare const Overlay$5: React$1.ForwardRefExoticComponent<Omit<OverlayProps$5, "ref"> & React$1.RefAttributes<View>>;
380
+ declare const Content$9: React$1.ForwardRefExoticComponent<Omit<ContentProps$9, "ref"> & React$1.RefAttributes<View>>;
381
+ declare const Close$1: React$1.ForwardRefExoticComponent<Omit<CloseProps$1, "ref"> & React$1.RefAttributes<View>>;
382
+
383
+ declare namespace index$n {
384
+ export { Close$1 as Close, type CloseProps$1 as CloseProps, Content$9 as Content, type ContentProps$9 as ContentProps, Overlay$5 as Overlay, type OverlayProps$5 as OverlayProps, Portal$6 as Portal, type PortalProps$6 as PortalProps, Root$n as Root, type RootContext$i as RootContext, type RootProps$l as RootProps, Trigger$9 as Trigger, type TriggerProps$9 as TriggerProps, useRootContext$i as useRootContext };
385
+ }
386
+
387
+ interface Option$1 {
388
+ value: string;
389
+ label: string;
390
+ }
391
+ interface RootContext$h {
392
+ value: Option$1 | undefined;
393
+ onValueChange: (option: Option$1) => void;
394
+ open: boolean;
395
+ onOpenChange: (open: boolean) => void;
396
+ triggerPosition: LayoutPosition | null;
397
+ setTriggerPosition: (pos: LayoutPosition | null) => void;
398
+ contentLayout: LayoutRectangle | null;
399
+ setContentLayout: (layout: LayoutRectangle | null) => void;
400
+ nativeID: string;
401
+ disabled?: boolean;
402
+ }
403
+ interface ItemContext$2 {
404
+ itemValue: string;
405
+ label: string;
406
+ }
407
+ interface RootProps$k {
408
+ value?: Option$1;
409
+ defaultValue?: Option$1;
410
+ onValueChange?: (option: Option$1) => void;
411
+ open?: boolean;
412
+ defaultOpen?: boolean;
413
+ onOpenChange?: (open: boolean) => void;
414
+ disabled?: boolean;
415
+ children?: React.ReactNode;
416
+ }
417
+ interface TriggerProps$8 extends SlottablePressableProps {
418
+ }
419
+ interface ValueProps extends SlottableTextProps {
420
+ placeholder?: string;
421
+ }
422
+ interface PortalProps$5 extends ForceMountable {
423
+ hostName?: string;
424
+ children?: React.ReactNode;
425
+ }
426
+ interface OverlayProps$4 extends SlottablePressableProps, ForceMountable {
427
+ closeOnPress?: boolean;
428
+ }
429
+ interface ContentProps$8 extends SlottableViewProps, PositionedContentProps {
430
+ }
431
+ interface ItemProps$6 extends SlottablePressableProps {
432
+ value: string;
433
+ label: string;
434
+ closeOnPress?: boolean;
435
+ }
436
+ interface ItemTextProps$1 extends SlottableTextProps {
437
+ }
438
+ interface ItemIndicatorProps$2 extends SlottableViewProps, ForceMountable {
439
+ }
440
+ interface GroupProps$2 extends SlottableViewProps {
441
+ }
442
+ interface LabelProps$2 extends SlottableTextProps {
443
+ }
444
+ interface SeparatorProps$2 extends SlottableViewProps {
445
+ decorative?: boolean;
446
+ }
447
+
448
+ declare function useRootContext$h(): RootContext$h;
449
+ declare function useItemContext$3(): ItemContext$2;
450
+ declare function Root$m({ value: valueProp, defaultValue, onValueChange: onValueChangeProp, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, disabled, children, }: RootProps$k): react_jsx_runtime.JSX.Element;
451
+ declare namespace Root$m {
452
+ var displayName: string;
453
+ }
454
+ declare const Trigger$8: React$1.ForwardRefExoticComponent<Omit<TriggerProps$8, "ref"> & React$1.RefAttributes<View>>;
455
+ declare const Value: React$1.ForwardRefExoticComponent<Omit<ValueProps, "ref"> & React$1.RefAttributes<Text>>;
456
+ declare function Portal$5({ forceMount, hostName, children }: PortalProps$5): react_jsx_runtime.JSX.Element | null;
457
+ declare namespace Portal$5 {
458
+ var displayName: string;
459
+ }
460
+ declare const Overlay$4: React$1.ForwardRefExoticComponent<Omit<OverlayProps$4, "ref"> & React$1.RefAttributes<View>>;
461
+ declare const Content$8: React$1.ForwardRefExoticComponent<Omit<ContentProps$8, "ref"> & React$1.RefAttributes<View>>;
462
+ declare const Item$7: React$1.ForwardRefExoticComponent<Omit<ItemProps$6, "ref"> & React$1.RefAttributes<View>>;
463
+ declare const ItemText$1: React$1.ForwardRefExoticComponent<Omit<ItemTextProps$1, "ref"> & React$1.RefAttributes<Text>>;
464
+ declare const ItemIndicator$2: React$1.ForwardRefExoticComponent<Omit<ItemIndicatorProps$2, "ref"> & React$1.RefAttributes<View>>;
465
+ declare const Group$2: React$1.ForwardRefExoticComponent<Omit<GroupProps$2, "ref"> & React$1.RefAttributes<View>>;
466
+ declare const Label$2: React$1.ForwardRefExoticComponent<Omit<LabelProps$2, "ref"> & React$1.RefAttributes<Text>>;
467
+ declare const Separator$2: React$1.ForwardRefExoticComponent<Omit<SeparatorProps$2, "ref"> & React$1.RefAttributes<View>>;
468
+
469
+ declare const index$m_Value: typeof Value;
470
+ type index$m_ValueProps = ValueProps;
471
+ declare namespace index$m {
472
+ export { Content$8 as Content, type ContentProps$8 as ContentProps, Group$2 as Group, type GroupProps$2 as GroupProps, Item$7 as Item, type ItemContext$2 as ItemContext, ItemIndicator$2 as ItemIndicator, type ItemIndicatorProps$2 as ItemIndicatorProps, type ItemProps$6 as ItemProps, ItemText$1 as ItemText, type ItemTextProps$1 as ItemTextProps, Label$2 as Label, type LabelProps$2 as LabelProps, type Option$1 as Option, Overlay$4 as Overlay, type OverlayProps$4 as OverlayProps, Portal$5 as Portal, type PortalProps$5 as PortalProps, Root$m as Root, type RootContext$h as RootContext, type RootProps$k as RootProps, Separator$2 as Separator, type SeparatorProps$2 as SeparatorProps, Trigger$8 as Trigger, type TriggerProps$8 as TriggerProps, index$m_Value as Value, type index$m_ValueProps as ValueProps, useItemContext$3 as useItemContext, useRootContext$h as useRootContext };
473
+ }
474
+
475
+ interface RootProps$j {
476
+ value?: string;
477
+ defaultValue?: string;
478
+ onValueChange?: (value: string) => void;
479
+ children?: React.ReactNode;
480
+ }
481
+ interface ListProps extends SlottableViewProps {
482
+ }
483
+ interface TriggerProps$7 extends SlottablePressableProps {
484
+ value: string;
485
+ }
486
+ interface ContentProps$7 extends SlottableViewProps, ForceMountable {
487
+ value: string;
488
+ }
489
+ interface RootContext$g {
490
+ value: string;
491
+ onValueChange: (value: string) => void;
492
+ nativeID: string;
493
+ }
494
+
495
+ declare function useRootContext$g(): RootContext$g;
496
+ declare function Root$l({ value: valueProp, defaultValue, onValueChange: onValueChangeProp, children, }: RootProps$j): react_jsx_runtime.JSX.Element;
497
+ declare namespace Root$l {
498
+ var displayName: string;
499
+ }
500
+ declare const List: React$1.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React$1.RefAttributes<View>>;
501
+ declare const Trigger$7: React$1.ForwardRefExoticComponent<Omit<TriggerProps$7, "ref"> & React$1.RefAttributes<View>>;
502
+ declare const Content$7: React$1.ForwardRefExoticComponent<Omit<ContentProps$7, "ref"> & React$1.RefAttributes<View>>;
503
+
504
+ declare const index$l_List: typeof List;
505
+ type index$l_ListProps = ListProps;
506
+ declare namespace index$l {
507
+ export { Content$7 as Content, type ContentProps$7 as ContentProps, index$l_List as List, type index$l_ListProps as ListProps, Root$l as Root, type RootContext$g as RootContext, type RootProps$j as RootProps, Trigger$7 as Trigger, type TriggerProps$7 as TriggerProps, useRootContext$g as useRootContext };
508
+ }
509
+
510
+ interface RootContext$f {
511
+ open: boolean;
512
+ onOpenChange: (open: boolean) => void;
513
+ triggerPosition: LayoutPosition | null;
514
+ setTriggerPosition: (pos: LayoutPosition | null) => void;
515
+ contentLayout: LayoutRectangle | null;
516
+ setContentLayout: (layout: LayoutRectangle | null) => void;
517
+ nativeID: string;
518
+ }
519
+ interface RootProps$i {
520
+ open?: boolean;
521
+ defaultOpen?: boolean;
522
+ onOpenChange?: (open: boolean) => void;
523
+ children?: React.ReactNode;
524
+ }
525
+ interface TriggerProps$6 extends SlottablePressableProps {
526
+ }
527
+ interface PortalProps$4 extends ForceMountable {
528
+ hostName?: string;
529
+ children?: React.ReactNode;
530
+ }
531
+ interface OverlayProps$3 extends SlottablePressableProps, ForceMountable {
532
+ closeOnPress?: boolean;
533
+ }
534
+ interface ContentProps$6 extends SlottableViewProps, PositionedContentProps {
535
+ }
536
+ interface ItemProps$5 extends SlottablePressableProps {
537
+ textValue?: string;
538
+ closeOnPress?: boolean;
539
+ }
540
+ interface GroupProps$1 extends SlottableViewProps {
541
+ }
542
+ interface LabelProps$1 extends SlottableTextProps {
543
+ }
544
+ interface CheckboxItemProps$1 extends SlottablePressableProps {
545
+ checked: boolean;
546
+ onCheckedChange: (checked: boolean) => void;
547
+ textValue?: string;
548
+ closeOnPress?: boolean;
549
+ }
550
+ interface RadioGroupProps$1 extends SlottableViewProps {
551
+ value: string | undefined;
552
+ onValueChange: (value: string) => void;
553
+ }
554
+ interface RadioItemProps$1 extends SlottablePressableProps {
555
+ value: string;
556
+ textValue?: string;
557
+ closeOnPress?: boolean;
558
+ }
559
+ interface ItemIndicatorProps$1 extends SlottableViewProps, ForceMountable {
560
+ }
561
+ interface SeparatorProps$1 extends SlottableViewProps {
562
+ decorative?: boolean;
563
+ }
564
+ interface SubProps$1 {
565
+ open?: boolean;
566
+ defaultOpen?: boolean;
567
+ onOpenChange?: (open: boolean) => void;
568
+ children?: React.ReactNode;
569
+ }
570
+ interface SubTriggerProps$1 extends SlottablePressableProps {
571
+ textValue?: string;
572
+ }
573
+ interface SubContentProps$1 extends SlottableViewProps, ForceMountable {
574
+ }
575
+
576
+ declare function useRootContext$f(): RootContext$f;
577
+ declare function useSubContext$1(): {
578
+ nativeID: string;
579
+ open: boolean;
580
+ onOpenChange: (value: boolean) => void;
581
+ };
582
+ declare function Root$k({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$i): react_jsx_runtime.JSX.Element;
583
+ declare namespace Root$k {
584
+ var displayName: string;
585
+ }
586
+ declare const Trigger$6: React$1.ForwardRefExoticComponent<Omit<TriggerProps$6, "ref"> & React$1.RefAttributes<View>>;
587
+ declare function Portal$4({ forceMount, hostName, children }: PortalProps$4): react_jsx_runtime.JSX.Element | null;
588
+ declare namespace Portal$4 {
589
+ var displayName: string;
590
+ }
591
+ declare const Overlay$3: React$1.ForwardRefExoticComponent<Omit<OverlayProps$3, "ref"> & React$1.RefAttributes<View>>;
592
+ declare const Content$6: React$1.ForwardRefExoticComponent<Omit<ContentProps$6, "ref"> & React$1.RefAttributes<View>>;
593
+ declare const Item$6: React$1.ForwardRefExoticComponent<Omit<ItemProps$5, "ref"> & React$1.RefAttributes<View>>;
594
+ declare const Group$1: React$1.ForwardRefExoticComponent<Omit<GroupProps$1, "ref"> & React$1.RefAttributes<View>>;
595
+ declare const Label$1: React$1.ForwardRefExoticComponent<Omit<LabelProps$1, "ref"> & React$1.RefAttributes<Text>>;
596
+ declare const CheckboxItem$1: React$1.ForwardRefExoticComponent<Omit<CheckboxItemProps$1, "ref"> & React$1.RefAttributes<View>>;
597
+ declare const RadioGroup$1: React$1.ForwardRefExoticComponent<Omit<RadioGroupProps$1, "ref"> & React$1.RefAttributes<View>>;
598
+ declare const RadioItem$1: React$1.ForwardRefExoticComponent<Omit<RadioItemProps$1, "ref"> & React$1.RefAttributes<View>>;
599
+ declare const ItemIndicator$1: React$1.ForwardRefExoticComponent<Omit<ItemIndicatorProps$1, "ref"> & React$1.RefAttributes<View>>;
600
+ declare const Separator$1: React$1.ForwardRefExoticComponent<Omit<SeparatorProps$1, "ref"> & React$1.RefAttributes<View>>;
601
+ declare function Sub$1({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: SubProps$1): react_jsx_runtime.JSX.Element;
602
+ declare namespace Sub$1 {
603
+ var displayName: string;
604
+ }
605
+ declare const SubTrigger$1: React$1.ForwardRefExoticComponent<Omit<SubTriggerProps$1, "ref"> & React$1.RefAttributes<View>>;
606
+ declare const SubContent$1: React$1.ForwardRefExoticComponent<Omit<SubContentProps$1, "ref"> & React$1.RefAttributes<View>>;
607
+
608
+ declare namespace index$k {
609
+ export { CheckboxItem$1 as CheckboxItem, type CheckboxItemProps$1 as CheckboxItemProps, Content$6 as Content, type ContentProps$6 as ContentProps, Group$1 as Group, type GroupProps$1 as GroupProps, Item$6 as Item, ItemIndicator$1 as ItemIndicator, type ItemIndicatorProps$1 as ItemIndicatorProps, type ItemProps$5 as ItemProps, Label$1 as Label, type LabelProps$1 as LabelProps, Overlay$3 as Overlay, type OverlayProps$3 as OverlayProps, Portal$4 as Portal, type PortalProps$4 as PortalProps, RadioGroup$1 as RadioGroup, type RadioGroupProps$1 as RadioGroupProps, RadioItem$1 as RadioItem, type RadioItemProps$1 as RadioItemProps, Root$k as Root, type RootContext$f as RootContext, type RootProps$i as RootProps, Separator$1 as Separator, type SeparatorProps$1 as SeparatorProps, Sub$1 as Sub, SubContent$1 as SubContent, type SubContentProps$1 as SubContentProps, type SubProps$1 as SubProps, SubTrigger$1 as SubTrigger, type SubTriggerProps$1 as SubTriggerProps, Trigger$6 as Trigger, type TriggerProps$6 as TriggerProps, useRootContext$f as useRootContext, useSubContext$1 as useSubContext };
610
+ }
611
+
612
+ interface RootContext$e {
613
+ open: boolean;
614
+ onOpenChange: (open: boolean) => void;
615
+ triggerPosition: LayoutPosition | null;
616
+ setTriggerPosition: (pos: LayoutPosition | null) => void;
617
+ contentLayout: LayoutRectangle | null;
618
+ setContentLayout: (layout: LayoutRectangle | null) => void;
619
+ nativeID: string;
620
+ }
621
+ interface RootProps$h {
622
+ open?: boolean;
623
+ defaultOpen?: boolean;
624
+ onOpenChange?: (open: boolean) => void;
625
+ children?: React.ReactNode;
626
+ }
627
+ interface TriggerProps$5 extends SlottablePressableProps {
628
+ }
629
+ interface PortalProps$3 extends ForceMountable {
630
+ hostName?: string;
631
+ children?: React.ReactNode;
632
+ }
633
+ interface OverlayProps$2 extends SlottablePressableProps, ForceMountable {
634
+ closeOnPress?: boolean;
635
+ }
636
+ interface ContentProps$5 extends SlottableViewProps, PositionedContentProps {
637
+ }
638
+ interface ItemProps$4 extends SlottablePressableProps {
639
+ textValue?: string;
640
+ closeOnPress?: boolean;
641
+ }
642
+ interface GroupProps extends SlottableViewProps {
643
+ }
644
+ interface LabelProps extends SlottableTextProps {
645
+ }
646
+ interface CheckboxItemProps extends SlottablePressableProps {
647
+ checked: boolean;
648
+ onCheckedChange: (checked: boolean) => void;
649
+ textValue?: string;
650
+ closeOnPress?: boolean;
651
+ }
652
+ interface RadioGroupProps extends SlottableViewProps {
653
+ value: string | undefined;
654
+ onValueChange: (value: string) => void;
655
+ }
656
+ interface RadioItemProps extends SlottablePressableProps {
657
+ value: string;
658
+ textValue?: string;
659
+ closeOnPress?: boolean;
660
+ }
661
+ interface ItemIndicatorProps extends SlottableViewProps, ForceMountable {
662
+ }
663
+ interface SeparatorProps extends SlottableViewProps {
664
+ decorative?: boolean;
665
+ }
666
+ interface SubProps {
667
+ open?: boolean;
668
+ defaultOpen?: boolean;
669
+ onOpenChange?: (open: boolean) => void;
670
+ children?: React.ReactNode;
671
+ }
672
+ interface SubTriggerProps extends SlottablePressableProps {
673
+ textValue?: string;
674
+ }
675
+ interface SubContentProps extends SlottableViewProps, ForceMountable {
676
+ }
677
+
678
+ declare function useRootContext$e(): RootContext$e;
679
+ declare function useSubContext(): {
680
+ nativeID: string;
681
+ open: boolean;
682
+ onOpenChange: (value: boolean) => void;
683
+ };
684
+ declare function Root$j({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$h): react_jsx_runtime.JSX.Element;
685
+ declare namespace Root$j {
686
+ var displayName: string;
687
+ }
688
+ declare const Trigger$5: React$1.ForwardRefExoticComponent<Omit<TriggerProps$5, "ref"> & React$1.RefAttributes<View>>;
689
+ declare function Portal$3({ forceMount, hostName, children }: PortalProps$3): react_jsx_runtime.JSX.Element | null;
690
+ declare namespace Portal$3 {
691
+ var displayName: string;
692
+ }
693
+ declare const Overlay$2: React$1.ForwardRefExoticComponent<Omit<OverlayProps$2, "ref"> & React$1.RefAttributes<View>>;
694
+ declare const Content$5: React$1.ForwardRefExoticComponent<Omit<ContentProps$5, "ref"> & React$1.RefAttributes<View>>;
695
+ declare const Item$5: React$1.ForwardRefExoticComponent<Omit<ItemProps$4, "ref"> & React$1.RefAttributes<View>>;
696
+ declare const Group: React$1.ForwardRefExoticComponent<Omit<GroupProps, "ref"> & React$1.RefAttributes<View>>;
697
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React$1.RefAttributes<Text>>;
698
+ declare const CheckboxItem: React$1.ForwardRefExoticComponent<Omit<CheckboxItemProps, "ref"> & React$1.RefAttributes<View>>;
699
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupProps, "ref"> & React$1.RefAttributes<View>>;
700
+ declare const RadioItem: React$1.ForwardRefExoticComponent<Omit<RadioItemProps, "ref"> & React$1.RefAttributes<View>>;
701
+ declare const ItemIndicator: React$1.ForwardRefExoticComponent<Omit<ItemIndicatorProps, "ref"> & React$1.RefAttributes<View>>;
702
+ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React$1.RefAttributes<View>>;
703
+ declare function Sub({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: SubProps): react_jsx_runtime.JSX.Element;
704
+ declare namespace Sub {
705
+ var displayName: string;
706
+ }
707
+ declare const SubTrigger: React$1.ForwardRefExoticComponent<Omit<SubTriggerProps, "ref"> & React$1.RefAttributes<View>>;
708
+ declare const SubContent: React$1.ForwardRefExoticComponent<Omit<SubContentProps, "ref"> & React$1.RefAttributes<View>>;
709
+
710
+ declare const index$j_CheckboxItem: typeof CheckboxItem;
711
+ type index$j_CheckboxItemProps = CheckboxItemProps;
712
+ declare const index$j_Group: typeof Group;
713
+ type index$j_GroupProps = GroupProps;
714
+ declare const index$j_ItemIndicator: typeof ItemIndicator;
715
+ type index$j_ItemIndicatorProps = ItemIndicatorProps;
716
+ declare const index$j_Label: typeof Label;
717
+ type index$j_LabelProps = LabelProps;
718
+ declare const index$j_RadioGroup: typeof RadioGroup;
719
+ type index$j_RadioGroupProps = RadioGroupProps;
720
+ declare const index$j_RadioItem: typeof RadioItem;
721
+ type index$j_RadioItemProps = RadioItemProps;
722
+ declare const index$j_Separator: typeof Separator;
723
+ type index$j_SeparatorProps = SeparatorProps;
724
+ declare const index$j_Sub: typeof Sub;
725
+ declare const index$j_SubContent: typeof SubContent;
726
+ type index$j_SubContentProps = SubContentProps;
727
+ type index$j_SubProps = SubProps;
728
+ declare const index$j_SubTrigger: typeof SubTrigger;
729
+ type index$j_SubTriggerProps = SubTriggerProps;
730
+ declare const index$j_useSubContext: typeof useSubContext;
731
+ declare namespace index$j {
732
+ export { index$j_CheckboxItem as CheckboxItem, type index$j_CheckboxItemProps as CheckboxItemProps, Content$5 as Content, type ContentProps$5 as ContentProps, index$j_Group as Group, type index$j_GroupProps as GroupProps, Item$5 as Item, index$j_ItemIndicator as ItemIndicator, type index$j_ItemIndicatorProps as ItemIndicatorProps, type ItemProps$4 as ItemProps, index$j_Label as Label, type index$j_LabelProps as LabelProps, Overlay$2 as Overlay, type OverlayProps$2 as OverlayProps, Portal$3 as Portal, type PortalProps$3 as PortalProps, index$j_RadioGroup as RadioGroup, type index$j_RadioGroupProps as RadioGroupProps, index$j_RadioItem as RadioItem, type index$j_RadioItemProps as RadioItemProps, Root$j as Root, type RootContext$e as RootContext, type RootProps$h as RootProps, index$j_Separator as Separator, type index$j_SeparatorProps as SeparatorProps, index$j_Sub as Sub, index$j_SubContent as SubContent, type index$j_SubContentProps as SubContentProps, type index$j_SubProps as SubProps, index$j_SubTrigger as SubTrigger, type index$j_SubTriggerProps as SubTriggerProps, Trigger$5 as Trigger, type TriggerProps$5 as TriggerProps, useRootContext$e as useRootContext, index$j_useSubContext as useSubContext };
733
+ }
734
+
735
+ interface ListRootProps<T> extends Omit<FlatListProps<T>, 'renderItem'> {
736
+ data: T[];
737
+ renderItem: (info: {
738
+ item: T;
739
+ index: number;
740
+ }) => React.ReactElement;
741
+ estimatedItemSize?: number;
742
+ keyExtractor?: (item: T, index: number) => string;
743
+ }
744
+ interface ListItemProps extends ViewProps {
745
+ children?: React.ReactNode;
746
+ }
747
+
748
+ declare function useItemContext$2(): {
749
+ item: unknown;
750
+ index: number;
751
+ };
752
+ declare const Root$i: <T>(props: ListRootProps<T> & {
753
+ ref?: React__default.Ref<FlatList<T>>;
754
+ }) => React__default.ReactElement | null;
755
+ declare const Item$4: React__default.ForwardRefExoticComponent<ListItemProps & React__default.RefAttributes<View>>;
756
+
757
+ type index$i_ListItemProps = ListItemProps;
758
+ type index$i_ListRootProps<T> = ListRootProps<T>;
759
+ declare namespace index$i {
760
+ export { Item$4 as Item, type index$i_ListItemProps as ListItemProps, type index$i_ListRootProps as ListRootProps, Root$i as Root, useItemContext$2 as useItemContext };
761
+ }
762
+
763
+ type ContentFit = 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
764
+ interface ImageRootProps extends Omit<ImageProps, 'resizeMode'> {
765
+ source: ImageSourcePropType;
766
+ alt?: string;
767
+ placeholder?: ImageSourcePropType;
768
+ contentFit?: ContentFit;
769
+ }
770
+
771
+ declare const Root$h: React__default.ForwardRefExoticComponent<ImageRootProps & React__default.RefAttributes<Image>>;
772
+
773
+ type index$h_ContentFit = ContentFit;
774
+ type index$h_ImageRootProps = ImageRootProps;
775
+ declare namespace index$h {
776
+ export { type index$h_ContentFit as ContentFit, type index$h_ImageRootProps as ImageRootProps, Root$h as Root };
777
+ }
778
+
779
+ interface RootProps$g extends SlottableTextProps {
780
+ nativeID?: string;
781
+ }
782
+ interface RootContext$d {
783
+ nativeID: string | undefined;
784
+ }
785
+
786
+ declare function useRootContext$d(): RootContext$d;
787
+ declare const Root$g: React$1.ForwardRefExoticComponent<Omit<RootProps$g, "ref"> & React$1.RefAttributes<Text>>;
788
+
789
+ declare namespace index$g {
790
+ export { Root$g as Root, type RootContext$d as RootContext, type RootProps$g as RootProps, useRootContext$d as useRootContext };
791
+ }
792
+
793
+ interface RootProps$f extends SlottableViewProps {
794
+ orientation?: 'horizontal' | 'vertical';
795
+ decorative?: boolean;
796
+ }
797
+
798
+ declare const Root$f: React$1.ForwardRefExoticComponent<Omit<RootProps$f, "ref"> & React$1.RefAttributes<View>>;
799
+
800
+ declare namespace index$f {
801
+ export { Root$f as Root, type RootProps$f as RootProps };
802
+ }
803
+
804
+ interface Option {
805
+ value: string;
806
+ label: string;
807
+ }
808
+ interface RootContext$c {
809
+ value: Option | undefined;
810
+ onValueChange: (value: Option | undefined) => void;
811
+ open: boolean;
812
+ onOpenChange: (open: boolean) => void;
813
+ searchValue: string;
814
+ onSearchValueChange: (search: string) => void;
815
+ nativeID: string;
816
+ }
817
+ interface RootProps$e {
818
+ value?: Option | undefined;
819
+ defaultValue?: Option | undefined;
820
+ onValueChange?: (value: Option | undefined) => void;
821
+ open?: boolean;
822
+ defaultOpen?: boolean;
823
+ onOpenChange?: (open: boolean) => void;
824
+ searchValue?: string;
825
+ onSearchValueChange?: (search: string) => void;
826
+ children?: React.ReactNode;
827
+ }
828
+ interface InputProps extends SlottableViewProps {
829
+ placeholder?: string;
830
+ }
831
+ interface TriggerProps$4 extends SlottablePressableProps {
832
+ }
833
+ interface PortalProps$2 extends ForceMountable {
834
+ hostName?: string;
835
+ children?: React.ReactNode;
836
+ }
837
+ interface ContentProps$4 extends SlottableViewProps, ForceMountable {
838
+ }
839
+ interface ItemProps$3 extends SlottablePressableProps {
840
+ value: string;
841
+ label: string;
842
+ }
843
+ interface ItemTextProps extends SlottableTextProps {
844
+ }
845
+ interface EmptyProps extends SlottableViewProps {
846
+ }
847
+
848
+ declare function useRootContext$c(): RootContext$c;
849
+ declare function Root$e({ value: valueProp, defaultValue, onValueChange: onValueChangeProp, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, searchValue: searchValueProp, onSearchValueChange: onSearchValueChangeProp, children, }: RootProps$e): react_jsx_runtime.JSX.Element;
850
+ declare namespace Root$e {
851
+ var displayName: string;
852
+ }
853
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<View>>;
854
+ declare const Trigger$4: React$1.ForwardRefExoticComponent<Omit<TriggerProps$4, "ref"> & React$1.RefAttributes<View>>;
855
+ declare function Portal$2({ forceMount, hostName, children }: PortalProps$2): react_jsx_runtime.JSX.Element | null;
856
+ declare namespace Portal$2 {
857
+ var displayName: string;
858
+ }
859
+ declare const Content$4: React$1.ForwardRefExoticComponent<Omit<ContentProps$4, "ref"> & React$1.RefAttributes<View>>;
860
+ declare const Item$3: React$1.ForwardRefExoticComponent<Omit<ItemProps$3, "ref"> & React$1.RefAttributes<View>>;
861
+ declare const ItemText: React$1.ForwardRefExoticComponent<Omit<ItemTextProps, "ref"> & React$1.RefAttributes<Text>>;
862
+ declare const Empty: React$1.ForwardRefExoticComponent<Omit<EmptyProps, "ref"> & React$1.RefAttributes<View>>;
863
+
864
+ declare const index$e_Empty: typeof Empty;
865
+ type index$e_EmptyProps = EmptyProps;
866
+ declare const index$e_Input: typeof Input;
867
+ type index$e_InputProps = InputProps;
868
+ declare const index$e_ItemText: typeof ItemText;
869
+ type index$e_ItemTextProps = ItemTextProps;
870
+ type index$e_Option = Option;
871
+ declare namespace index$e {
872
+ export { Content$4 as Content, type ContentProps$4 as ContentProps, index$e_Empty as Empty, type index$e_EmptyProps as EmptyProps, index$e_Input as Input, type index$e_InputProps as InputProps, Item$3 as Item, type ItemProps$3 as ItemProps, index$e_ItemText as ItemText, type index$e_ItemTextProps as ItemTextProps, type index$e_Option as Option, Portal$2 as Portal, type PortalProps$2 as PortalProps, Root$e as Root, type RootContext$c as RootContext, type RootProps$e as RootProps, Trigger$4 as Trigger, type TriggerProps$4 as TriggerProps, useRootContext$c as useRootContext };
873
+ }
874
+
875
+ interface RootProps$d extends SlottablePressableProps {
876
+ checked?: boolean;
877
+ defaultChecked?: boolean;
878
+ onCheckedChange?: (checked: boolean) => void;
879
+ disabled?: boolean;
880
+ ref?: PressableRef;
881
+ }
882
+ interface IndicatorProps$2 extends SlottableViewProps, ForceMountable {
883
+ }
884
+ interface RootContext$b {
885
+ checked: boolean;
886
+ disabled: boolean;
887
+ onCheckedChange: (checked: boolean) => void;
888
+ }
889
+
890
+ declare function useRootContext$b(): RootContext$b;
891
+ declare const Root$d: React$1.ForwardRefExoticComponent<Omit<RootProps$d, "ref"> & React$1.RefAttributes<View>>;
892
+ declare const Indicator$2: React$1.ForwardRefExoticComponent<Omit<IndicatorProps$2, "ref"> & React$1.RefAttributes<View>>;
893
+
894
+ declare namespace index$d {
895
+ export { Indicator$2 as Indicator, type IndicatorProps$2 as IndicatorProps, Root$d as Root, type RootContext$b as RootContext, type RootProps$d as RootProps, useRootContext$b as useRootContext };
896
+ }
897
+
898
+ interface RootProps$c extends SlottablePressableProps {
899
+ checked?: boolean;
900
+ defaultChecked?: boolean;
901
+ onCheckedChange?: (checked: boolean) => void;
902
+ disabled?: boolean;
903
+ ref?: PressableRef;
904
+ }
905
+ interface ThumbProps$1 extends SlottableViewProps {
906
+ }
907
+ interface RootContext$a {
908
+ checked: boolean;
909
+ disabled: boolean;
910
+ }
911
+
912
+ declare function useRootContext$a(): RootContext$a;
913
+ declare const Root$c: React$1.ForwardRefExoticComponent<Omit<RootProps$c, "ref"> & React$1.RefAttributes<View>>;
914
+ declare const Thumb$1: React$1.ForwardRefExoticComponent<Omit<ThumbProps$1, "ref"> & React$1.RefAttributes<View>>;
915
+
916
+ declare namespace index$c {
917
+ export { Root$c as Root, type RootContext$a as RootContext, type RootProps$c as RootProps, Thumb$1 as Thumb, type ThumbProps$1 as ThumbProps, useRootContext$a as useRootContext };
918
+ }
919
+
920
+ interface RootProps$b extends SlottableViewProps {
921
+ value?: number | null;
922
+ max?: number;
923
+ getValueLabel?: (value: number, max: number) => string;
924
+ }
925
+ interface IndicatorProps$1 extends SlottableViewProps {
926
+ }
927
+ interface RootContext$9 {
928
+ value: number | null;
929
+ max: number;
930
+ }
931
+
932
+ declare function useRootContext$9(): RootContext$9;
933
+ declare const Root$b: React$1.ForwardRefExoticComponent<Omit<RootProps$b, "ref"> & React$1.RefAttributes<View>>;
934
+ declare const Indicator$1: React$1.ForwardRefExoticComponent<Omit<IndicatorProps$1, "ref"> & React$1.RefAttributes<View>>;
935
+
936
+ declare namespace index$b {
937
+ export { Indicator$1 as Indicator, type IndicatorProps$1 as IndicatorProps, Root$b as Root, type RootContext$9 as RootContext, type RootProps$b as RootProps, useRootContext$9 as useRootContext };
938
+ }
939
+
940
+ interface RootProps$a extends SlottablePressableProps {
941
+ pressed?: boolean;
942
+ defaultPressed?: boolean;
943
+ onPressedChange?: (pressed: boolean) => void;
944
+ disabled?: boolean;
945
+ ref?: PressableRef;
946
+ }
947
+
948
+ declare const Root$a: React$1.ForwardRefExoticComponent<Omit<RootProps$a, "ref"> & React$1.RefAttributes<View>>;
949
+
950
+ declare namespace index$a {
951
+ export { Root$a as Root, type RootProps$a as RootProps };
952
+ }
953
+
954
+ interface RootProps$9 extends SlottableViewProps {
955
+ value?: string;
956
+ defaultValue?: string;
957
+ onValueChange?: (value: string) => void;
958
+ disabled?: boolean;
959
+ ref?: ViewRef;
960
+ }
961
+ interface ItemProps$2 extends SlottablePressableProps {
962
+ value: string;
963
+ disabled?: boolean;
964
+ ref?: PressableRef;
965
+ }
966
+ interface IndicatorProps extends SlottableViewProps, ForceMountable {
967
+ }
968
+ interface RootContext$8 {
969
+ value: string | undefined;
970
+ disabled: boolean;
971
+ onValueChange: (value: string) => void;
972
+ }
973
+ interface ItemContext$1 {
974
+ value: string;
975
+ checked: boolean;
976
+ disabled: boolean;
977
+ }
978
+
979
+ declare function useRootContext$8(): RootContext$8;
980
+ declare function useItemContext$1(): ItemContext$1;
981
+ declare const Root$9: React$1.ForwardRefExoticComponent<Omit<RootProps$9, "ref"> & React$1.RefAttributes<View>>;
982
+ declare const Item$2: React$1.ForwardRefExoticComponent<Omit<ItemProps$2, "ref"> & React$1.RefAttributes<View>>;
983
+ declare const Indicator: React$1.ForwardRefExoticComponent<Omit<IndicatorProps, "ref"> & React$1.RefAttributes<View>>;
984
+
985
+ declare const index$9_Indicator: typeof Indicator;
986
+ type index$9_IndicatorProps = IndicatorProps;
987
+ declare namespace index$9 {
988
+ export { index$9_Indicator as Indicator, type index$9_IndicatorProps as IndicatorProps, Item$2 as Item, type ItemContext$1 as ItemContext, type ItemProps$2 as ItemProps, Root$9 as Root, type RootContext$8 as RootContext, type RootProps$9 as RootProps, useItemContext$1 as useItemContext, useRootContext$8 as useRootContext };
989
+ }
990
+
991
+ interface SingleRootProps$1 extends SlottableViewProps {
992
+ type: 'single';
993
+ value?: string;
994
+ defaultValue?: string;
995
+ onValueChange?: (value: string) => void;
996
+ disabled?: boolean;
997
+ ref?: ViewRef;
998
+ }
999
+ interface MultipleRootProps$1 extends SlottableViewProps {
1000
+ type: 'multiple';
1001
+ value?: string[];
1002
+ defaultValue?: string[];
1003
+ onValueChange?: (value: string[]) => void;
1004
+ disabled?: boolean;
1005
+ ref?: ViewRef;
1006
+ }
1007
+ type RootProps$8 = SingleRootProps$1 | MultipleRootProps$1;
1008
+ interface ItemProps$1 extends SlottablePressableProps {
1009
+ value: string;
1010
+ disabled?: boolean;
1011
+ ref?: PressableRef;
1012
+ }
1013
+ interface RootContext$7 {
1014
+ type: 'single' | 'multiple';
1015
+ value: string | string[] | undefined;
1016
+ disabled: boolean;
1017
+ onValueChange: (value: string | string[]) => void;
1018
+ }
1019
+
1020
+ declare function useRootContext$7(): RootContext$7;
1021
+ declare const Root$8: React$1.ForwardRefExoticComponent<(Omit<SingleRootProps$1, "ref"> | Omit<MultipleRootProps$1, "ref">) & React$1.RefAttributes<View>>;
1022
+ declare const Item$1: React$1.ForwardRefExoticComponent<Omit<ItemProps$1, "ref"> & React$1.RefAttributes<View>>;
1023
+
1024
+ declare namespace index$8 {
1025
+ export { Item$1 as Item, type ItemProps$1 as ItemProps, type MultipleRootProps$1 as MultipleRootProps, Root$8 as Root, type RootContext$7 as RootContext, type RootProps$8 as RootProps, type SingleRootProps$1 as SingleRootProps, useRootContext$7 as useRootContext };
1026
+ }
1027
+
1028
+ interface RootProps$7 extends SlottableViewProps {
1029
+ open?: boolean;
1030
+ defaultOpen?: boolean;
1031
+ onOpenChange?: (open: boolean) => void;
1032
+ disabled?: boolean;
1033
+ ref?: ViewRef;
1034
+ }
1035
+ interface TriggerProps$3 extends SlottablePressableProps {
1036
+ ref?: PressableRef;
1037
+ }
1038
+ interface ContentProps$3 extends SlottableViewProps, ForceMountable {
1039
+ ref?: ViewRef;
1040
+ }
1041
+ interface RootContext$6 {
1042
+ open: boolean;
1043
+ disabled: boolean;
1044
+ onOpenChange: (open: boolean) => void;
1045
+ }
1046
+
1047
+ declare function useRootContext$6(): RootContext$6;
1048
+ declare const Root$7: React$1.ForwardRefExoticComponent<Omit<RootProps$7, "ref"> & React$1.RefAttributes<View>>;
1049
+ declare const Trigger$3: React$1.ForwardRefExoticComponent<Omit<TriggerProps$3, "ref"> & React$1.RefAttributes<View>>;
1050
+ declare const Content$3: React$1.ForwardRefExoticComponent<Omit<ContentProps$3, "ref"> & React$1.RefAttributes<View>>;
1051
+
1052
+ declare namespace index$7 {
1053
+ export { Content$3 as Content, type ContentProps$3 as ContentProps, Root$7 as Root, type RootContext$6 as RootContext, type RootProps$7 as RootProps, Trigger$3 as Trigger, type TriggerProps$3 as TriggerProps, useRootContext$6 as useRootContext };
1054
+ }
1055
+
1056
+ interface SingleRootProps extends SlottableViewProps {
1057
+ type: 'single';
1058
+ value?: string;
1059
+ defaultValue?: string;
1060
+ onValueChange?: (value: string) => void;
1061
+ collapsible?: boolean;
1062
+ disabled?: boolean;
1063
+ ref?: ViewRef;
1064
+ }
1065
+ interface MultipleRootProps extends SlottableViewProps {
1066
+ type: 'multiple';
1067
+ value?: string[];
1068
+ defaultValue?: string[];
1069
+ onValueChange?: (value: string[]) => void;
1070
+ disabled?: boolean;
1071
+ ref?: ViewRef;
1072
+ }
1073
+ type RootProps$6 = SingleRootProps | MultipleRootProps;
1074
+ interface ItemProps extends SlottableViewProps {
1075
+ value: string;
1076
+ disabled?: boolean;
1077
+ ref?: ViewRef;
1078
+ }
1079
+ interface HeaderProps$1 extends SlottableViewProps {
1080
+ ref?: ViewRef;
1081
+ }
1082
+ interface TriggerProps$2 extends SlottablePressableProps {
1083
+ ref?: PressableRef;
1084
+ }
1085
+ interface ContentProps$2 extends SlottableViewProps, ForceMountable {
1086
+ ref?: ViewRef;
1087
+ }
1088
+ interface RootContext$5 {
1089
+ type: 'single' | 'multiple';
1090
+ value: string | string[] | undefined;
1091
+ onValueChange: (value: string | string[]) => void;
1092
+ collapsible: boolean;
1093
+ disabled: boolean;
1094
+ }
1095
+ interface ItemContext {
1096
+ value: string;
1097
+ isExpanded: boolean;
1098
+ disabled: boolean;
1099
+ }
1100
+
1101
+ declare function useRootContext$5(): RootContext$5;
1102
+ declare function useItemContext(): ItemContext;
1103
+ declare const Root$6: React$1.ForwardRefExoticComponent<(Omit<SingleRootProps, "ref"> | Omit<MultipleRootProps, "ref">) & React$1.RefAttributes<View>>;
1104
+ declare const Item: React$1.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React$1.RefAttributes<View>>;
1105
+ declare const Header$1: React$1.ForwardRefExoticComponent<Omit<HeaderProps$1, "ref"> & React$1.RefAttributes<View>>;
1106
+ declare const Trigger$2: React$1.ForwardRefExoticComponent<Omit<TriggerProps$2, "ref"> & React$1.RefAttributes<View>>;
1107
+ declare const Content$2: React$1.ForwardRefExoticComponent<Omit<ContentProps$2, "ref"> & React$1.RefAttributes<View>>;
1108
+
1109
+ declare const index$6_Item: typeof Item;
1110
+ type index$6_ItemContext = ItemContext;
1111
+ type index$6_ItemProps = ItemProps;
1112
+ type index$6_MultipleRootProps = MultipleRootProps;
1113
+ type index$6_SingleRootProps = SingleRootProps;
1114
+ declare const index$6_useItemContext: typeof useItemContext;
1115
+ declare namespace index$6 {
1116
+ export { Content$2 as Content, type ContentProps$2 as ContentProps, Header$1 as Header, type HeaderProps$1 as HeaderProps, index$6_Item as Item, type index$6_ItemContext as ItemContext, type index$6_ItemProps as ItemProps, type index$6_MultipleRootProps as MultipleRootProps, Root$6 as Root, type RootContext$5 as RootContext, type RootProps$6 as RootProps, type index$6_SingleRootProps as SingleRootProps, Trigger$2 as Trigger, type TriggerProps$2 as TriggerProps, index$6_useItemContext as useItemContext, useRootContext$5 as useRootContext };
1117
+ }
1118
+
1119
+ interface RootProps$5 extends SlottableViewProps {
1120
+ value?: number;
1121
+ defaultValue?: number;
1122
+ onValueChange?: (value: number) => void;
1123
+ min?: number;
1124
+ max?: number;
1125
+ step?: number;
1126
+ disabled?: boolean;
1127
+ ref?: ViewRef;
1128
+ }
1129
+ interface TrackProps extends SlottableViewProps {
1130
+ ref?: ViewRef;
1131
+ }
1132
+ interface RangeProps extends SlottableViewProps {
1133
+ ref?: ViewRef;
1134
+ }
1135
+ interface ThumbProps extends SlottablePressableProps {
1136
+ ref?: PressableRef;
1137
+ }
1138
+ interface RootContext$4 {
1139
+ value: number;
1140
+ min: number;
1141
+ max: number;
1142
+ step: number;
1143
+ disabled: boolean;
1144
+ onValueChange: (value: number) => void;
1145
+ }
1146
+
1147
+ declare function useRootContext$4(): RootContext$4;
1148
+ declare const Root$5: React$1.ForwardRefExoticComponent<Omit<RootProps$5, "ref"> & React$1.RefAttributes<View>>;
1149
+ declare const Track: React$1.ForwardRefExoticComponent<Omit<TrackProps, "ref"> & React$1.RefAttributes<View>>;
1150
+ declare const Range: React$1.ForwardRefExoticComponent<Omit<RangeProps, "ref"> & React$1.RefAttributes<View>>;
1151
+ declare const Thumb: React$1.ForwardRefExoticComponent<Omit<ThumbProps, "ref"> & React$1.RefAttributes<View>>;
1152
+
1153
+ declare const index$5_Range: typeof Range;
1154
+ type index$5_RangeProps = RangeProps;
1155
+ declare const index$5_Thumb: typeof Thumb;
1156
+ type index$5_ThumbProps = ThumbProps;
1157
+ declare const index$5_Track: typeof Track;
1158
+ type index$5_TrackProps = TrackProps;
1159
+ declare namespace index$5 {
1160
+ export { index$5_Range as Range, type index$5_RangeProps as RangeProps, Root$5 as Root, type RootContext$4 as RootContext, type RootProps$5 as RootProps, index$5_Thumb as Thumb, type index$5_ThumbProps as ThumbProps, index$5_Track as Track, type index$5_TrackProps as TrackProps, useRootContext$4 as useRootContext };
1161
+ }
1162
+
1163
+ interface RootProps$4 extends SlottableViewProps {
1164
+ open?: boolean;
1165
+ defaultOpen?: boolean;
1166
+ onOpenChange?: (open: boolean) => void;
1167
+ type?: 'foreground' | 'background';
1168
+ children?: React.ReactNode;
1169
+ ref?: ViewRef;
1170
+ }
1171
+ interface TitleProps extends SlottableTextProps {
1172
+ ref?: TextRef;
1173
+ }
1174
+ interface DescriptionProps extends SlottableTextProps {
1175
+ ref?: TextRef;
1176
+ }
1177
+ interface ActionProps extends SlottablePressableProps {
1178
+ altText: string;
1179
+ ref?: PressableRef;
1180
+ }
1181
+ interface CloseProps extends SlottablePressableProps {
1182
+ ref?: PressableRef;
1183
+ }
1184
+ interface RootContext$3 {
1185
+ open: boolean;
1186
+ onOpenChange: (open: boolean) => void;
1187
+ type: 'foreground' | 'background';
1188
+ }
1189
+
1190
+ declare function useRootContext$3(): RootContext$3;
1191
+ declare const Root$4: React$1.ForwardRefExoticComponent<Omit<RootProps$4, "ref"> & React$1.RefAttributes<View>>;
1192
+ declare const Title: React$1.ForwardRefExoticComponent<Omit<TitleProps, "ref"> & React$1.RefAttributes<Text>>;
1193
+ declare const Description: React$1.ForwardRefExoticComponent<Omit<DescriptionProps, "ref"> & React$1.RefAttributes<Text>>;
1194
+ declare const Action: React$1.ForwardRefExoticComponent<Omit<ActionProps, "ref"> & React$1.RefAttributes<View>>;
1195
+ declare const Close: React$1.ForwardRefExoticComponent<Omit<CloseProps, "ref"> & React$1.RefAttributes<View>>;
1196
+
1197
+ declare const index$4_Action: typeof Action;
1198
+ type index$4_ActionProps = ActionProps;
1199
+ declare const index$4_Close: typeof Close;
1200
+ type index$4_CloseProps = CloseProps;
1201
+ declare const index$4_Description: typeof Description;
1202
+ type index$4_DescriptionProps = DescriptionProps;
1203
+ declare const index$4_Title: typeof Title;
1204
+ type index$4_TitleProps = TitleProps;
1205
+ declare namespace index$4 {
1206
+ export { index$4_Action as Action, type index$4_ActionProps as ActionProps, index$4_Close as Close, type index$4_CloseProps as CloseProps, index$4_Description as Description, type index$4_DescriptionProps as DescriptionProps, Root$4 as Root, type RootContext$3 as RootContext, type RootProps$4 as RootProps, index$4_Title as Title, type index$4_TitleProps as TitleProps, useRootContext$3 as useRootContext };
1207
+ }
1208
+
1209
+ interface RootProps$3 {
1210
+ open?: boolean;
1211
+ defaultOpen?: boolean;
1212
+ onOpenChange?: (open: boolean) => void;
1213
+ delayDuration?: number;
1214
+ children?: React.ReactNode;
1215
+ }
1216
+ interface TriggerProps$1 extends SlottablePressableProps {
1217
+ }
1218
+ interface PortalProps$1 extends ForceMountable {
1219
+ hostName?: string;
1220
+ children?: React.ReactNode;
1221
+ }
1222
+ interface OverlayProps$1 extends SlottablePressableProps, ForceMountable {
1223
+ closeOnPress?: boolean;
1224
+ }
1225
+ interface ContentProps$1 extends SlottableViewProps, PositionedContentProps {
1226
+ }
1227
+ interface RootContext$2 {
1228
+ open: boolean;
1229
+ onOpenChange: (open: boolean) => void;
1230
+ triggerPosition: LayoutPosition | null;
1231
+ setTriggerPosition: (position: LayoutPosition | null) => void;
1232
+ contentLayout: LayoutRectangle | null;
1233
+ setContentLayout: (layout: LayoutRectangle | null) => void;
1234
+ }
1235
+
1236
+ declare function useRootContext$2(): RootContext$2;
1237
+ declare function Root$3({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$3): react_jsx_runtime.JSX.Element;
1238
+ declare namespace Root$3 {
1239
+ var displayName: string;
1240
+ }
1241
+ declare const Trigger$1: React$1.ForwardRefExoticComponent<Omit<TriggerProps$1, "ref"> & React$1.RefAttributes<View>>;
1242
+ declare function Portal$1({ forceMount, hostName, children }: PortalProps$1): react_jsx_runtime.JSX.Element | null;
1243
+ declare namespace Portal$1 {
1244
+ var displayName: string;
1245
+ }
1246
+ declare const Overlay$1: React$1.ForwardRefExoticComponent<Omit<OverlayProps$1, "ref"> & React$1.RefAttributes<View>>;
1247
+ declare const Content$1: React$1.ForwardRefExoticComponent<Omit<ContentProps$1, "ref"> & React$1.RefAttributes<View>>;
1248
+
1249
+ declare namespace index$3 {
1250
+ export { Content$1 as Content, type ContentProps$1 as ContentProps, Overlay$1 as Overlay, type OverlayProps$1 as OverlayProps, Portal$1 as Portal, type PortalProps$1 as PortalProps, Root$3 as Root, type RootContext$2 as RootContext, type RootProps$3 as RootProps, Trigger$1 as Trigger, type TriggerProps$1 as TriggerProps, useRootContext$2 as useRootContext };
1251
+ }
1252
+
1253
+ interface RootProps$2 {
1254
+ open?: boolean;
1255
+ defaultOpen?: boolean;
1256
+ onOpenChange?: (open: boolean) => void;
1257
+ openDelay?: number;
1258
+ closeDelay?: number;
1259
+ children?: React.ReactNode;
1260
+ }
1261
+ interface TriggerProps extends SlottablePressableProps {
1262
+ }
1263
+ interface PortalProps extends ForceMountable {
1264
+ hostName?: string;
1265
+ children?: React.ReactNode;
1266
+ }
1267
+ interface OverlayProps extends SlottablePressableProps, ForceMountable {
1268
+ closeOnPress?: boolean;
1269
+ }
1270
+ interface ContentProps extends SlottableViewProps, PositionedContentProps {
1271
+ }
1272
+ interface RootContext$1 {
1273
+ open: boolean;
1274
+ onOpenChange: (open: boolean) => void;
1275
+ triggerPosition: LayoutPosition | null;
1276
+ setTriggerPosition: (position: LayoutPosition | null) => void;
1277
+ contentLayout: LayoutRectangle | null;
1278
+ setContentLayout: (layout: LayoutRectangle | null) => void;
1279
+ }
1280
+
1281
+ declare function useRootContext$1(): RootContext$1;
1282
+ declare function Root$2({ open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, children }: RootProps$2): react_jsx_runtime.JSX.Element;
1283
+ declare namespace Root$2 {
1284
+ var displayName: string;
1285
+ }
1286
+ declare const Trigger: React$1.ForwardRefExoticComponent<Omit<TriggerProps, "ref"> & React$1.RefAttributes<View>>;
1287
+ declare function Portal({ forceMount, hostName, children }: PortalProps): react_jsx_runtime.JSX.Element | null;
1288
+ declare namespace Portal {
1289
+ var displayName: string;
1290
+ }
1291
+ declare const Overlay: React$1.ForwardRefExoticComponent<Omit<OverlayProps, "ref"> & React$1.RefAttributes<View>>;
1292
+ declare const Content: React$1.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & React$1.RefAttributes<View>>;
1293
+
1294
+ declare const index$2_Content: typeof Content;
1295
+ type index$2_ContentProps = ContentProps;
1296
+ declare const index$2_Overlay: typeof Overlay;
1297
+ type index$2_OverlayProps = OverlayProps;
1298
+ declare const index$2_Portal: typeof Portal;
1299
+ type index$2_PortalProps = PortalProps;
1300
+ declare const index$2_Trigger: typeof Trigger;
1301
+ type index$2_TriggerProps = TriggerProps;
1302
+ declare namespace index$2 {
1303
+ export { index$2_Content as Content, type index$2_ContentProps as ContentProps, index$2_Overlay as Overlay, type index$2_OverlayProps as OverlayProps, index$2_Portal as Portal, type index$2_PortalProps as PortalProps, Root$2 as Root, type RootContext$1 as RootContext, type RootProps$2 as RootProps, index$2_Trigger as Trigger, type index$2_TriggerProps as TriggerProps, useRootContext$1 as useRootContext };
1304
+ }
1305
+
1306
+ interface RootProps$1<TData> extends SlottableViewProps {
1307
+ table: Table<TData>;
1308
+ }
1309
+ interface HeaderProps extends SlottableViewProps {
1310
+ }
1311
+ interface HeaderRowProps extends SlottableViewProps {
1312
+ }
1313
+ interface HeaderCellProps extends SlottableTextProps {
1314
+ }
1315
+ interface BodyProps extends SlottableViewProps {
1316
+ }
1317
+ interface RowProps extends SlottableViewProps {
1318
+ }
1319
+ interface CellProps extends SlottableTextProps {
1320
+ }
1321
+ interface FooterProps extends SlottableViewProps {
1322
+ }
1323
+ interface RootContext<TData = unknown> {
1324
+ table: Table<TData>;
1325
+ }
1326
+
1327
+ declare function useRootContext(): RootContext;
1328
+ declare const Root$1: React$1.ForwardRefExoticComponent<Omit<RootProps$1<any>, "ref"> & React$1.RefAttributes<View>>;
1329
+ declare const Header: React$1.ForwardRefExoticComponent<Omit<HeaderProps, "ref"> & React$1.RefAttributes<View>>;
1330
+ declare const HeaderRow: React$1.ForwardRefExoticComponent<Omit<HeaderRowProps, "ref"> & React$1.RefAttributes<View>>;
1331
+ declare const HeaderCell: React$1.ForwardRefExoticComponent<Omit<HeaderCellProps, "ref"> & React$1.RefAttributes<Text>>;
1332
+ declare const Body: React$1.ForwardRefExoticComponent<Omit<BodyProps, "ref"> & React$1.RefAttributes<View>>;
1333
+ declare const Row: React$1.ForwardRefExoticComponent<Omit<RowProps, "ref"> & React$1.RefAttributes<View>>;
1334
+ declare const Cell: React$1.ForwardRefExoticComponent<Omit<CellProps, "ref"> & React$1.RefAttributes<Text>>;
1335
+ declare const Footer: React$1.ForwardRefExoticComponent<Omit<FooterProps, "ref"> & React$1.RefAttributes<View>>;
1336
+
1337
+ declare const index$1_Body: typeof Body;
1338
+ type index$1_BodyProps = BodyProps;
1339
+ declare const index$1_Cell: typeof Cell;
1340
+ type index$1_CellProps = CellProps;
1341
+ declare const index$1_Footer: typeof Footer;
1342
+ type index$1_FooterProps = FooterProps;
1343
+ declare const index$1_Header: typeof Header;
1344
+ declare const index$1_HeaderCell: typeof HeaderCell;
1345
+ type index$1_HeaderCellProps = HeaderCellProps;
1346
+ type index$1_HeaderProps = HeaderProps;
1347
+ declare const index$1_HeaderRow: typeof HeaderRow;
1348
+ type index$1_HeaderRowProps = HeaderRowProps;
1349
+ type index$1_RootContext<TData = unknown> = RootContext<TData>;
1350
+ declare const index$1_Row: typeof Row;
1351
+ type index$1_RowProps = RowProps;
1352
+ declare const index$1_useRootContext: typeof useRootContext;
1353
+ declare namespace index$1 {
1354
+ export { index$1_Body as Body, type index$1_BodyProps as BodyProps, index$1_Cell as Cell, type index$1_CellProps as CellProps, index$1_Footer as Footer, type index$1_FooterProps as FooterProps, index$1_Header as Header, index$1_HeaderCell as HeaderCell, type index$1_HeaderCellProps as HeaderCellProps, type index$1_HeaderProps as HeaderProps, index$1_HeaderRow as HeaderRow, type index$1_HeaderRowProps as HeaderRowProps, Root$1 as Root, type index$1_RootContext as RootContext, type RootProps$1 as RootProps, index$1_Row as Row, type index$1_RowProps as RowProps, index$1_useRootContext as useRootContext };
1355
+ }
1356
+
1357
+ interface RootProps extends SlottableTextProps {
1358
+ }
1359
+
1360
+ declare const TextClassContext: React$1.Context<string | undefined>;
1361
+ declare const Root: React$1.ForwardRefExoticComponent<Omit<RootProps, "ref"> & React$1.RefAttributes<Text>>;
1362
+
1363
+ declare const index_Root: typeof Root;
1364
+ type index_RootProps = RootProps;
1365
+ declare const index_TextClassContext: typeof TextClassContext;
1366
+ declare namespace index {
1367
+ export { index_Root as Root, type index_RootProps as RootProps, index_TextClassContext as TextClassContext };
1368
+ }
1369
+
1370
+ export { index$6 as Accordion, index$p as AlertDialog, index$q as Animated, index$d as Checkbox, index$7 as Collapsible, index$e as Combobox, index$k as ContextMenu, index$o as Dialog, index$j as DropdownMenu, EmptyGestureResponderEvent, type FocusOutsideEvent, type ForceMountable, index$2 as HoverCard, index$h as Image, type ImageRef, type Insets, index$g as Label, type LayoutPosition, index$i as List, type PointerDownOutsideEvent, index$n as Popover, Portal$9 as Portal, PortalHost, type PositionedContentProps, type PressableRef, type Prettify, index$b as Progress, index$9 as RadioGroup, index$m as Select, index$f as Separator, index$5 as Slider, Slot, type Slottable, type SlottableImageProps, type SlottablePressableProps, type SlottableTextProps, type SlottableViewProps, index$c as Switch, index$1 as Table, index$l as Tabs, index as Text, TextClassContext, type TextRef, index$4 as Toast, index$a as Toggle, index$8 as ToggleGroup, index$3 as Tooltip, type ViewRef, composeRefs, mergeProps, toggleGroupUtils, useAugmentedRef, useControllableState, useRelativePosition };