@adelin-io/cli 0.0.0-stage → 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 (175) hide show
  1. package/README.md +76 -2
  2. package/authoring-release.json +174 -0
  3. package/package.json +30 -4
  4. package/runtime-integrity.json +9 -0
  5. package/scripts/adelin.mjs +7768 -0
  6. package/scripts/assemble-checkout.mjs +93 -0
  7. package/scripts/local-save.mjs +513 -0
  8. package/scripts/materialize.mjs +319 -0
  9. package/scripts/runtime.mjs +8950 -0
  10. package/scripts/typecheck.mjs +72 -0
  11. package/scripts/workspace-state.mjs +183 -0
  12. package/skill/README.md +77 -0
  13. package/skill/SKILL.md +100 -0
  14. package/skill/authoring/access.md +193 -0
  15. package/skill/authoring/analytics.md +20 -0
  16. package/skill/authoring/app-memory.md +128 -0
  17. package/skill/authoring/app-requirements.md +99 -0
  18. package/skill/authoring/app-structure.md +265 -0
  19. package/skill/authoring/assets.md +117 -0
  20. package/skill/authoring/auth.md +261 -0
  21. package/skill/authoring/content-binding.md +26 -0
  22. package/skill/authoring/i18n.md +184 -0
  23. package/skill/authoring/language.md +503 -0
  24. package/skill/authoring/local-workflow.md +1665 -0
  25. package/skill/authoring/offline/connectivity.md +50 -0
  26. package/skill/authoring/offline/example.md +102 -0
  27. package/skill/authoring/offline/history-sync.md +39 -0
  28. package/skill/authoring/offline/index.md +29 -0
  29. package/skill/authoring/offline/package-storage.md +37 -0
  30. package/skill/authoring/offline/platforms.md +35 -0
  31. package/skill/authoring/offline/startup-navigation.md +53 -0
  32. package/skill/authoring/platform-files.md +616 -0
  33. package/skill/authoring/player/casting.md +47 -0
  34. package/skill/authoring/player/controls.md +95 -0
  35. package/skill/authoring/player/downloads.md +90 -0
  36. package/skill/authoring/player/drm.md +31 -0
  37. package/skill/authoring/player/index.md +39 -0
  38. package/skill/authoring/player/live-dvr.md +33 -0
  39. package/skill/authoring/player/platforms.md +47 -0
  40. package/skill/authoring/player/playback.md +42 -0
  41. package/skill/authoring/player/tracks-subtitles.md +32 -0
  42. package/skill/authoring/profiles.md +213 -0
  43. package/skill/authoring/remote-keys.md +139 -0
  44. package/skill/authoring/search.md +27 -0
  45. package/skill/authoring/store.md +85 -0
  46. package/skill/authoring/tv-text-entry.md +146 -0
  47. package/skill/design/approved/README.md +14 -0
  48. package/skill/design/approved/vesper-phone-home.jpg +0 -0
  49. package/skill/design/approved/vesper-tv-detail.jpg +0 -0
  50. package/skill/design/approved/vesper-tv-home.jpg +0 -0
  51. package/skill/design/design-guide.md +610 -0
  52. package/skill/design/edge-to-edge.md +66 -0
  53. package/skill/design/icons.md +50 -0
  54. package/skill/design/responsive-layout.md +175 -0
  55. package/skill/design/safe-area.md +221 -0
  56. package/skill/design/streaming-playbook.md +131 -0
  57. package/skill/design/visual-review.md +150 -0
  58. package/skill/examples/README.md +24 -0
  59. package/skill/examples/cinema/DESIGN.md +58 -0
  60. package/skill/examples/cinema/app.tsx +17 -0
  61. package/skill/examples/cinema/assets/logo.png +0 -0
  62. package/skill/examples/cinema/components/Action.tsx +40 -0
  63. package/skill/examples/cinema/components/Action.tv.tsx +44 -0
  64. package/skill/examples/cinema/components/CatalogGrid.tsx +31 -0
  65. package/skill/examples/cinema/components/ContinueRail.tsx +98 -0
  66. package/skill/examples/cinema/components/Feedback.tsx +28 -0
  67. package/skill/examples/cinema/components/Field.tsx +41 -0
  68. package/skill/examples/cinema/components/LibraryRail.tsx +46 -0
  69. package/skill/examples/cinema/components/PlayAction.tsx +29 -0
  70. package/skill/examples/cinema/components/Root.tsx +59 -0
  71. package/skill/examples/cinema/components/Shell.tsx +70 -0
  72. package/skill/examples/cinema/components/Tab.tsx +22 -0
  73. package/skill/examples/cinema/components/TitleCard.tsx +68 -0
  74. package/skill/examples/cinema/components/TitleMeta.tsx +36 -0
  75. package/skill/examples/cinema/locales/en.ts +211 -0
  76. package/skill/examples/cinema/locales/lt.ts +211 -0
  77. package/skill/examples/cinema/preview/phone-home.jpg +0 -0
  78. package/skill/examples/cinema/preview/tv-detail.jpg +0 -0
  79. package/skill/examples/cinema/preview/tv-home.jpg +0 -0
  80. package/skill/examples/cinema/screens/portrait/Account.tsx +110 -0
  81. package/skill/examples/cinema/screens/portrait/Browse.tsx +73 -0
  82. package/skill/examples/cinema/screens/portrait/Detail.tsx +159 -0
  83. package/skill/examples/cinema/screens/portrait/Home.tsx +196 -0
  84. package/skill/examples/cinema/screens/portrait/Player.tsx +299 -0
  85. package/skill/examples/cinema/screens/portrait/Search.tsx +46 -0
  86. package/skill/examples/cinema/screens/portrait/Search.tv.tsx +55 -0
  87. package/skill/examples/cinema/screens/portrait/SignIn.tsx +101 -0
  88. package/skill/examples/cinema/screens/portrait/SignUp.tsx +106 -0
  89. package/skill/examples/cinema/store.tsx +132 -0
  90. package/skill/examples/cinema/theme.ts +32 -0
  91. package/skill/examples/documentary/DESIGN.md +33 -0
  92. package/skill/examples/documentary/app.tsx +17 -0
  93. package/skill/examples/documentary/components/Action.tsx +43 -0
  94. package/skill/examples/documentary/components/CatalogGrid.tsx +47 -0
  95. package/skill/examples/documentary/components/Feedback.tsx +27 -0
  96. package/skill/examples/documentary/components/Field.tsx +33 -0
  97. package/skill/examples/documentary/components/LibraryRail.tsx +47 -0
  98. package/skill/examples/documentary/components/Root.tsx +62 -0
  99. package/skill/examples/documentary/components/Shell.tsx +93 -0
  100. package/skill/examples/documentary/components/StoryCard.tsx +53 -0
  101. package/skill/examples/documentary/components/StoryMeta.tsx +22 -0
  102. package/skill/examples/documentary/preview/phone-home.jpg +0 -0
  103. package/skill/examples/documentary/preview/tv-detail.jpg +0 -0
  104. package/skill/examples/documentary/preview/tv-home.jpg +0 -0
  105. package/skill/examples/documentary/screens/portrait/Account.tsx +97 -0
  106. package/skill/examples/documentary/screens/portrait/Browse.tsx +71 -0
  107. package/skill/examples/documentary/screens/portrait/Detail.tsx +133 -0
  108. package/skill/examples/documentary/screens/portrait/Home.tsx +89 -0
  109. package/skill/examples/documentary/screens/portrait/Player.tsx +116 -0
  110. package/skill/examples/documentary/screens/portrait/Search.tsx +48 -0
  111. package/skill/examples/documentary/screens/portrait/SignIn.tsx +96 -0
  112. package/skill/examples/documentary/screens/portrait/SignUp.tsx +101 -0
  113. package/skill/examples/documentary/store.tsx +115 -0
  114. package/skill/examples/documentary/theme.ts +20 -0
  115. package/skill/examples/series/DESIGN.md +55 -0
  116. package/skill/examples/series/app.tsx +17 -0
  117. package/skill/examples/series/components/Action.tsx +42 -0
  118. package/skill/examples/series/components/CatalogGrid.tsx +43 -0
  119. package/skill/examples/series/components/ContinueRail.tsx +78 -0
  120. package/skill/examples/series/components/Feedback.tsx +26 -0
  121. package/skill/examples/series/components/Field.tsx +34 -0
  122. package/skill/examples/series/components/LibraryRail.tsx +38 -0
  123. package/skill/examples/series/components/OutcomeNote.tsx +28 -0
  124. package/skill/examples/series/components/PlayAction.tsx +29 -0
  125. package/skill/examples/series/components/RestoreAction.tsx +33 -0
  126. package/skill/examples/series/components/Root.tsx +75 -0
  127. package/skill/examples/series/components/SaveTitle.tsx +34 -0
  128. package/skill/examples/series/components/Shell.tsx +75 -0
  129. package/skill/examples/series/components/TitleCard.tsx +62 -0
  130. package/skill/examples/series/components/UnlockAction.tsx +10 -0
  131. package/skill/examples/series/preview/phone-home.jpg +0 -0
  132. package/skill/examples/series/preview/tv-detail.jpg +0 -0
  133. package/skill/examples/series/preview/tv-home.jpg +0 -0
  134. package/skill/examples/series/screens/portrait/Account.tsx +125 -0
  135. package/skill/examples/series/screens/portrait/Browse.tsx +61 -0
  136. package/skill/examples/series/screens/portrait/Detail.tsx +231 -0
  137. package/skill/examples/series/screens/portrait/Home.tsx +109 -0
  138. package/skill/examples/series/screens/portrait/MyList.tsx +44 -0
  139. package/skill/examples/series/screens/portrait/Plans.tsx +131 -0
  140. package/skill/examples/series/screens/portrait/Player.tsx +138 -0
  141. package/skill/examples/series/screens/portrait/Profiles.tsx +103 -0
  142. package/skill/examples/series/screens/portrait/Search.tsx +50 -0
  143. package/skill/examples/series/screens/portrait/SignIn.tsx +94 -0
  144. package/skill/examples/series/screens/portrait/SignUp.tsx +100 -0
  145. package/skill/examples/series/store.tsx +192 -0
  146. package/skill/examples/series/theme.ts +32 -0
  147. package/skill/guides/final-pricing-capabilities.md +13 -0
  148. package/skill/reference/api.md +842 -0
  149. package/skill/reference/components.md +1782 -0
  150. package/skill/reference/packages.md +24 -0
  151. package/skill/scripts/assemble-checkout.mjs +93 -0
  152. package/skill/scripts/local-save.mjs +513 -0
  153. package/skill/scripts/materialize.mjs +319 -0
  154. package/skill/scripts/workspace-state.mjs +183 -0
  155. package/types/adelin-access.d.ts +70 -0
  156. package/types/adelin-analytics.d.ts +5 -0
  157. package/types/adelin-assets.d.ts +26 -0
  158. package/types/adelin-auth.d.ts +37 -0
  159. package/types/adelin-content.d.ts +112 -0
  160. package/types/adelin-device.d.ts +195 -0
  161. package/types/adelin-downloads.d.ts +47 -0
  162. package/types/adelin-env.d.ts +8 -0
  163. package/types/adelin-globals.d.ts +19 -0
  164. package/types/adelin-i18n.d.ts +31 -0
  165. package/types/adelin-native-stack.d.ts +178 -0
  166. package/types/adelin-navigation.d.ts +264 -0
  167. package/types/adelin-profiles.d.ts +51 -0
  168. package/types/adelin-react.d.ts +49 -0
  169. package/types/adelin-reanimated.d.ts +376 -0
  170. package/types/adelin-storage.d.ts +9 -0
  171. package/types/adelin-store.d.ts +74 -0
  172. package/types/adelin-ui.d.ts +1518 -0
  173. package/types/adelin-utils.d.ts +7 -0
  174. package/types/adelin-worklets.d.ts +15 -0
  175. package/workspace-tsconfig.json +53 -0
@@ -0,0 +1,1518 @@
1
+ // AUTO-GENERATED by descriptor-dialect generate-catalog.ts — DO NOT EDIT.
2
+ // Regenerate with `pnpm --filter @adelin/descriptor-dialect generate:catalog`.
3
+ // Source of truth: app-runtime componentMap.tsx + composite types.ts (ts-morph).
4
+
5
+ declare module "@adelin/ui" {
6
+ // --- Self-contained ambient base types (react-native surface, inlined) ---
7
+ export type ReactNode = unknown;
8
+ export namespace React {
9
+ export type ReactNode = unknown;
10
+ }
11
+ export type StyleProp<T> = T | false | null | undefined | ReadonlyArray<StyleProp<T>>;
12
+ export interface ViewStyle {
13
+ [key: string]: unknown;
14
+ /** Unsupported on web-based TVs; space children with margins. */
15
+ gap?: never;
16
+ rowGap?: never;
17
+ columnGap?: never;
18
+ experimental_backgroundImage?: never;
19
+ experimental_backgroundSize?: never;
20
+ experimental_backgroundPosition?: never;
21
+ experimental_backgroundRepeat?: never;
22
+ fontVariant?: never;
23
+ fontVariationSettings?: never;
24
+ }
25
+ export interface TextStyle {
26
+ [key: string]: unknown;
27
+ /** Unsupported on web-based TVs; space children with margins. */
28
+ gap?: never;
29
+ rowGap?: never;
30
+ columnGap?: never;
31
+ experimental_backgroundImage?: never;
32
+ experimental_backgroundSize?: never;
33
+ experimental_backgroundPosition?: never;
34
+ experimental_backgroundRepeat?: never;
35
+ fontVariant?: never;
36
+ fontVariationSettings?: never;
37
+ }
38
+ export interface ImageStyle {
39
+ [key: string]: unknown;
40
+ /** Unsupported on web-based TVs; space children with margins. */
41
+ gap?: never;
42
+ rowGap?: never;
43
+ columnGap?: never;
44
+ experimental_backgroundImage?: never;
45
+ experimental_backgroundSize?: never;
46
+ experimental_backgroundPosition?: never;
47
+ experimental_backgroundRepeat?: never;
48
+ fontVariant?: never;
49
+ fontVariationSettings?: never;
50
+ }
51
+ // The row a list's render function `{(row) => …}` receives. `{}` in CatalogChildren must
52
+ // stay narrow: ReactNode/unknown/any would absorb the function member and untype `row`.
53
+ export interface CatalogListItemAccessor {
54
+ (path?: string): any;
55
+ [key: string]: any;
56
+ }
57
+ export type CatalogRenderItem = (item: CatalogListItemAccessor) => ReactNode;
58
+ export type CatalogChildren = CatalogRenderItem | {} | null | undefined;
59
+ export interface CatalogElementProps {
60
+ style?: StyleProp<ViewStyle>;
61
+ children?: CatalogChildren;
62
+ renderItem?: CatalogRenderItem;
63
+ keyExtractor?: (item: any, index: number) => string;
64
+ [key: string]: unknown;
65
+ }
66
+
67
+ export type PrimitiveContractType0 = undefined | "auto" | "box-none" | "box-only" | "none";
68
+ export type PrimitiveContractType4 = undefined | false | true;
69
+ export type PrimitiveContractType5 = number | { readonly __primitiveHandle: unique symbol };
70
+ export type PrimitiveContractType6 = { "registrationName": string };
71
+ export type PrimitiveContractType7 = undefined | number;
72
+ export type PrimitiveContractType8 = (() => void);
73
+ export type PrimitiveContractType10 = false | true;
74
+ export type PrimitiveContractType9 = (() => PrimitiveContractType10);
75
+ export type PrimitiveContractType12 = { "x": number; "y": number; "width": number; "height": number };
76
+ export type PrimitiveContractType11 = { "layout": PrimitiveContractType12 };
77
+ export type PrimitiveContractType13 = undefined | number | { readonly __primitiveHandle: unique symbol };
78
+ export type PrimitiveContractType14 = undefined | string;
79
+ export type PrimitiveContractType3 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType11; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
80
+ export type PrimitiveContractType2 = ((event: PrimitiveContractType3) => unknown);
81
+ export type PrimitiveContractType1 = undefined | PrimitiveContractType2;
82
+ export type PrimitiveContractType17 = undefined | false | true | "mixed";
83
+ export type PrimitiveContractType16 = { "disabled"?: PrimitiveContractType4; "selected"?: PrimitiveContractType4; "checked"?: PrimitiveContractType17; "busy"?: PrimitiveContractType4; "expanded"?: PrimitiveContractType4 };
84
+ export type PrimitiveContractType15 = undefined | PrimitiveContractType16;
85
+ export type PrimitiveContractType18 = undefined | "head" | "middle" | "tail" | "clip";
86
+ export type PrimitiveContractType19 = undefined | null | number;
87
+ export type PrimitiveContractType25 = ReadonlyArray<PrimitiveContractType24>;
88
+ export type PrimitiveContractType24 = { "changedTouches": PrimitiveContractType25; "force"?: PrimitiveContractType7; "identifier": number; "locationX": number; "locationY": number; "pageX": number; "pageY": number; "target": PrimitiveContractType7; "timestamp": number; "touches": PrimitiveContractType25 };
89
+ export type PrimitiveContractType28 = { "touchActive": PrimitiveContractType10; "startPageX": number; "startPageY": number; "startTimeStamp": number; "currentPageX": number; "currentPageY": number; "currentTimeStamp": number; "previousPageX": number; "previousPageY": number; "previousTimeStamp": number };
90
+ export type PrimitiveContractType27 = ReadonlyArray<PrimitiveContractType28>;
91
+ export type PrimitiveContractType26 = { "indexOfSingleActiveTouch": number; "mostRecentTimeStamp": number; "numberActiveTouches": number; "touchBank": PrimitiveContractType27 };
92
+ export type PrimitiveContractType23 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType24; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14; "touchHistory": PrimitiveContractType26 };
93
+ export type PrimitiveContractType22 = null | PrimitiveContractType23;
94
+ export type PrimitiveContractType21 = ((event: PrimitiveContractType22) => void);
95
+ export type PrimitiveContractType20 = undefined | PrimitiveContractType21;
96
+ export type PrimitiveContractType29 = { "pressed": PrimitiveContractType10; "focused"?: PrimitiveContractType4; "hovered"?: PrimitiveContractType4 };
97
+ export type PrimitiveContractType34 = { "target": number };
98
+ export type PrimitiveContractType33 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType34; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
99
+ export type PrimitiveContractType32 = null | PrimitiveContractType33;
100
+ export type PrimitiveContractType31 = ((event: PrimitiveContractType32) => void);
101
+ export type PrimitiveContractType30 = undefined | PrimitiveContractType31;
102
+ export type PrimitiveContractType38 = { "color": string; "duration"?: PrimitiveContractType7 };
103
+ export type PrimitiveContractType37 = undefined | string | PrimitiveContractType38;
104
+ export type PrimitiveContractType40 = { "color": string; "width"?: PrimitiveContractType7; "offset"?: PrimitiveContractType7; "duration"?: PrimitiveContractType7 };
105
+ export type PrimitiveContractType39 = undefined | PrimitiveContractType40;
106
+ export type PrimitiveContractType42 = { "value": number; "duration"?: PrimitiveContractType7 };
107
+ export type PrimitiveContractType41 = undefined | number | PrimitiveContractType42;
108
+ export type PrimitiveContractType43 = undefined | "bottom" | "left" | "right" | "top" | "center";
109
+ export type PrimitiveContractType36 = { "backgroundColor"?: PrimitiveContractType37; "border"?: PrimitiveContractType39; "scale"?: PrimitiveContractType41; "scaleOrigin"?: PrimitiveContractType43 };
110
+ export type PrimitiveContractType35 = undefined | PrimitiveContractType36;
111
+ export type PrimitiveContractType47 = { "clientX": number; "clientY": number; "pageX": number; "pageY": number; "timestamp": number };
112
+ export type PrimitiveContractType46 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType47; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
113
+ export type PrimitiveContractType45 = ((event: PrimitiveContractType46) => void);
114
+ export type PrimitiveContractType44 = undefined | PrimitiveContractType45;
115
+ export type PrimitiveContractType52 = { "__NativeColorValue__": string };
116
+ export type PrimitiveContractType51 = symbol & PrimitiveContractType52;
117
+ export type PrimitiveContractType50 = undefined | null | string | number | PrimitiveContractType51;
118
+ export type PrimitiveContractType49 = { "color"?: PrimitiveContractType50; "borderless"?: PrimitiveContractType4; "radius"?: PrimitiveContractType7; "foreground"?: PrimitiveContractType4; "alpha"?: PrimitiveContractType7 };
119
+ export type PrimitiveContractType48 = undefined | null | PrimitiveContractType49;
120
+ export type PrimitiveContractType54 = { "bottom"?: PrimitiveContractType7; "left"?: PrimitiveContractType7; "right"?: PrimitiveContractType7; "top"?: PrimitiveContractType7 };
121
+ export type PrimitiveContractType53 = undefined | null | number | PrimitiveContractType54;
122
+ export type PrimitiveContractType56 = { "uri": string };
123
+ export type PrimitiveContractType55 = undefined | null | string | PrimitiveContractType56;
124
+ export type PrimitiveContractType57 = undefined | "none" | "center" | "contain" | "cover" | "stretch";
125
+ export type PrimitiveContractType58 = undefined | "none" | "contain" | "cover" | "fill" | "scale-down";
126
+ export type PrimitiveContractType62 = "none" | "disk" | "memory";
127
+ export type PrimitiveContractType64 = null | string;
128
+ export type PrimitiveContractType63 = { "url": string; "width": number; "height": number; "mediaType": PrimitiveContractType64; "isAnimated"?: PrimitiveContractType4 };
129
+ export type PrimitiveContractType61 = { "cacheType": PrimitiveContractType62; "source": PrimitiveContractType63 };
130
+ export type PrimitiveContractType60 = ((event: PrimitiveContractType61) => void);
131
+ export type PrimitiveContractType59 = undefined | PrimitiveContractType60;
132
+ export type PrimitiveContractType65 = undefined | PrimitiveContractType8;
133
+ export type PrimitiveContractType68 = { "error": string };
134
+ export type PrimitiveContractType67 = ((event: PrimitiveContractType68) => void);
135
+ export type PrimitiveContractType66 = undefined | PrimitiveContractType67;
136
+ export type PrimitiveContractType69 = undefined | false | true | "always" | "never" | "handled";
137
+ export type PrimitiveContractType74 = { "bottom": number; "left": number; "right": number; "top": number };
138
+ export type PrimitiveContractType75 = { "y": number; "x": number };
139
+ export type PrimitiveContractType76 = { "height": number; "width": number };
140
+ export type PrimitiveContractType77 = undefined | PrimitiveContractType75;
141
+ export type PrimitiveContractType73 = { "contentInset": PrimitiveContractType74; "contentOffset": PrimitiveContractType75; "contentSize": PrimitiveContractType76; "layoutMeasurement": PrimitiveContractType76; "velocity"?: PrimitiveContractType77; "zoomScale"?: PrimitiveContractType7; "responderIgnoreScroll"?: PrimitiveContractType4; "targetContentOffset"?: PrimitiveContractType77 };
142
+ export type PrimitiveContractType72 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType73; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
143
+ export type PrimitiveContractType71 = ((event: PrimitiveContractType72) => void);
144
+ export type PrimitiveContractType70 = undefined | PrimitiveContractType71;
145
+ export type PrimitiveContractType78 = undefined | "end" | "start" | "center" | "item";
146
+ export type PrimitiveContractType80 = ReadonlyArray<number>;
147
+ export type PrimitiveContractType79 = undefined | PrimitiveContractType80;
148
+ export type PrimitiveContractType81 = undefined | number | "fast" | "normal";
149
+ export type PrimitiveContractType82 = undefined | "none" | "on-drag" | "interactive";
150
+ export type PrimitiveContractType84 = { "minIndexForVisible": number; "autoscrollToTopThreshold"?: PrimitiveContractType7 };
151
+ export type PrimitiveContractType83 = undefined | PrimitiveContractType84;
152
+ export type PrimitiveContractType86 = ((event: PrimitiveContractType72) => void);
153
+ export type PrimitiveContractType85 = undefined | PrimitiveContractType86;
154
+ export type PrimitiveContractType88 = ((contentWidth: number, contentHeight: number) => void);
155
+ export type PrimitiveContractType87 = undefined | PrimitiveContractType88;
156
+ export type PrimitiveContractType90 = ((e: PrimitiveContractType33) => unknown);
157
+ export type PrimitiveContractType89 = undefined | PrimitiveContractType90;
158
+ export type PrimitiveContractType92 = ((e: PrimitiveContractType33) => unknown);
159
+ export type PrimitiveContractType91 = undefined | PrimitiveContractType92;
160
+ export type PrimitiveContractType93 = undefined | "end" | "left" | "right" | "start" | "center";
161
+ export type PrimitiveContractType95 = ((text: string) => unknown);
162
+ export type PrimitiveContractType94 = undefined | PrimitiveContractType95;
163
+ export type PrimitiveContractType96 = undefined | "none" | "sentences" | "words" | "characters";
164
+ export type PrimitiveContractType97 = undefined | "2fa-app-otp" | "additional-name" | "address-line1" | "address-line2" | "birthdate-day" | "birthdate-full" | "birthdate-month" | "birthdate-year" | "cc-csc" | "cc-exp" | "cc-exp-day" | "cc-exp-month" | "cc-exp-year" | "cc-number" | "cc-name" | "cc-given-name" | "cc-middle-name" | "cc-family-name" | "cc-type" | "country" | "current-password" | "email" | "email-otp" | "flight-confirmation-code" | "flight-number" | "family-name" | "gender" | "gift-card-number" | "gift-card-pin" | "given-name" | "honorific-prefix" | "honorific-suffix" | "loyalty-account-number" | "name" | "name-family" | "name-given" | "name-middle" | "name-middle-initial" | "name-prefix" | "name-suffix" | "new-password" | "nickname" | "one-time-code" | "organization" | "organization-title" | "password" | "password-new" | "postal-address" | "postal-address-country" | "postal-address-dependent-locality" | "postal-address-extended" | "postal-address-extended-postal-code" | "postal-address-locality" | "postal-address-region" | "postal-address-unit" | "postal-code" | "promo-code" | "street-address" | "sms-otp" | "tel" | "tel-country-code" | "tel-national" | "tel-device" | "upi-vpa" | "url" | "wifi-password" | "username" | "username-new" | "off";
165
+ export type PrimitiveContractType98 = undefined | "none" | "name" | "nickname" | "password" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | "cellularEID" | "cellularIMEI" | "dateTime" | "flightNumber" | "shipmentTrackingNumber";
166
+ export type PrimitiveContractType99 = undefined | "none" | "search" | "text" | "email" | "tel" | "url" | "decimal" | "numeric";
167
+ export type PrimitiveContractType100 = undefined | "search" | "done" | "go" | "next" | "send" | "previous" | "enter";
168
+ export type PrimitiveContractType101 = undefined | "submit" | "blurAndSubmit" | "newline";
169
+ export type PrimitiveContractType105 = { "target": number; "eventCount": number; "text": string };
170
+ export type PrimitiveContractType104 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType105; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
171
+ export type PrimitiveContractType103 = ((e: PrimitiveContractType104) => unknown);
172
+ export type PrimitiveContractType102 = undefined | PrimitiveContractType103;
173
+ export type PrimitiveContractType106 = undefined | "default" | "light" | "dark";
174
+ export type PrimitiveContractType109 = "none" | "link" | "flightNumber" | "phoneNumber" | "address" | "calendarEvent" | "trackingNumber" | "lookupSuggestion" | "all";
175
+ export type PrimitiveContractType108 = ReadonlyArray<PrimitiveContractType109>;
176
+ export type PrimitiveContractType107 = undefined | "none" | "link" | "flightNumber" | "phoneNumber" | "address" | "calendarEvent" | "trackingNumber" | "lookupSuggestion" | "all" | PrimitiveContractType108;
177
+ export type PrimitiveContractType110 = undefined | "none" | "standard" | "hangul-word" | "push-out";
178
+ export type PrimitiveContractType112 = { "start": number; "end"?: PrimitiveContractType7 };
179
+ export type PrimitiveContractType111 = undefined | PrimitiveContractType112;
180
+ export type PrimitiveContractType117 = { "start": number; "end": number };
181
+ export type PrimitiveContractType116 = { "target": number; "selection": PrimitiveContractType117 };
182
+ export type PrimitiveContractType115 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType116; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
183
+ export type PrimitiveContractType114 = ((e: PrimitiveContractType115) => unknown);
184
+ export type PrimitiveContractType113 = undefined | PrimitiveContractType114;
185
+ export type PrimitiveContractType121 = { "key": string; "target"?: PrimitiveContractType7; "eventCount": number };
186
+ export type PrimitiveContractType120 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType121; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
187
+ export type PrimitiveContractType119 = ((e: PrimitiveContractType120) => unknown);
188
+ export type PrimitiveContractType118 = undefined | PrimitiveContractType119;
189
+ export type PrimitiveContractType122 = undefined | "url" | "numeric" | "default" | "email-address" | "phone-pad" | "number-pad" | "decimal-pad" | "ascii-capable" | "numbers-and-punctuation" | "name-phone-pad" | "twitter" | "web-search" | "ascii-capable-number-pad" | "visible-password";
190
+ export type PrimitiveContractType123 = undefined | "none" | "search" | "done" | "go" | "next" | "send" | "previous" | "default" | "emergency-call" | "google" | "join" | "route" | "yahoo";
191
+ export type PrimitiveContractType128 = undefined | "next" | "previous" | "submit";
192
+ export type PrimitiveContractType127 = { "target": number; "eventCount": number; "text": string; "action"?: PrimitiveContractType128 };
193
+ export type PrimitiveContractType126 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType127; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
194
+ export type PrimitiveContractType125 = ((e: PrimitiveContractType126) => unknown);
195
+ export type PrimitiveContractType124 = undefined | PrimitiveContractType125;
196
+ export type PrimitiveContractType130 = ((event: PrimitiveContractType23) => unknown);
197
+ export type PrimitiveContractType129 = undefined | PrimitiveContractType130;
198
+ export type PrimitiveContractType131 = { "pressed": PrimitiveContractType10; "focused": PrimitiveContractType10; "hovered": PrimitiveContractType10 };
199
+ export type PrimitiveContractType133 = { "overscan"?: PrimitiveContractType7 };
200
+ export type PrimitiveContractType132 = undefined | PrimitiveContractType133;
201
+ export type PrimitiveContractType134 = undefined | "remember" | "first";
202
+ export type PrimitiveContractType135 = undefined | "primary" | "secondary" | "ghost";
203
+ export type PrimitiveContractType136 = undefined | number | "small" | "large";
204
+ export type PrimitiveContractType138 = ((value: PrimitiveContractType10) => void);
205
+ export type PrimitiveContractType137 = undefined | PrimitiveContractType138;
206
+ export type PrimitiveContractType139 = undefined | "height" | "padding" | "position";
207
+ export type PrimitiveContractType141 = null | string | number | PrimitiveContractType51;
208
+ export type PrimitiveContractType140 = readonly [PrimitiveContractType141, PrimitiveContractType141, ...PrimitiveContractType141[]];
209
+ export type PrimitiveContractType143 = { "x": number; "y": number };
210
+ export type PrimitiveContractType142 = undefined | PrimitiveContractType143;
211
+ export type PrimitiveContractType145 = readonly [number, number, ...number[]];
212
+ export type PrimitiveContractType144 = undefined | PrimitiveContractType145;
213
+ export type PrimitiveContractType148 = "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right";
214
+ export type PrimitiveContractType147 = ReadonlyArray<PrimitiveContractType148>;
215
+ export type PrimitiveContractType146 = undefined | PrimitiveContractType147;
216
+ export type PrimitiveContractType149 = undefined | "none" | "slide" | "fade";
217
+ export type PrimitiveContractType152 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": null; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
218
+ export type PrimitiveContractType153 = void | Promise<void>;
219
+ export type PrimitiveContractType151 = ((event: PrimitiveContractType152) => PrimitiveContractType153);
220
+ export type PrimitiveContractType150 = undefined | PrimitiveContractType151;
221
+ export type PrimitiveContractType154 = undefined | "default" | "large";
222
+ export type PrimitiveContractType156 = (() => PrimitiveContractType153);
223
+ export type PrimitiveContractType155 = undefined | PrimitiveContractType156;
224
+ export type PrimitiveContractType158 = ReadonlyArray<PrimitiveContractType141>;
225
+ export type PrimitiveContractType157 = undefined | PrimitiveContractType158;
226
+ export type PrimitiveContractType161 = "bottom" | "left" | "right" | "top";
227
+ export type PrimitiveContractType160 = ReadonlyArray<PrimitiveContractType161>;
228
+ export type PrimitiveContractType159 = undefined | PrimitiveContractType160;
229
+ export type PrimitiveContractType162 = undefined | "margin" | "padding";
230
+ export type PrimitiveContractType163 = undefined | null | string | number;
231
+ export type PrimitiveContractType165 = ((value: number) => void);
232
+ export type PrimitiveContractType164 = undefined | PrimitiveContractType165;
233
+ export type PrimitiveContractType166 = undefined | "auto" | "scroll" | "bounce";
234
+ export type PrimitiveContractType167 = undefined | null | string;
235
+ export type PrimitiveContractType168 = undefined | string | number;
236
+ export type PrimitiveContractType170 = ((value: PrimitiveContractType10) => PrimitiveContractType153);
237
+ export type PrimitiveContractType169 = undefined | PrimitiveContractType170;
238
+ export type PrimitiveContractType172 = { "false"?: PrimitiveContractType50; "true"?: PrimitiveContractType50 };
239
+ export type PrimitiveContractType171 = undefined | PrimitiveContractType172;
240
+ export type PrimitiveContractType177 = "click" | "formsubmit" | "backforward" | "reload" | "formresubmit" | "other";
241
+ export type PrimitiveContractType176 = { "navigationType": PrimitiveContractType177; "mainDocumentURL"?: PrimitiveContractType14; "url": string; "loading": PrimitiveContractType10; "title": string; "canGoBack": PrimitiveContractType10; "canGoForward": PrimitiveContractType10; "lockIdentifier": number };
242
+ export type PrimitiveContractType175 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType176; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
243
+ export type PrimitiveContractType174 = ((event: PrimitiveContractType175) => void);
244
+ export type PrimitiveContractType173 = undefined | PrimitiveContractType174;
245
+ export type PrimitiveContractType181 = { "domain"?: PrimitiveContractType14; "code": number; "description": string; "url": string; "loading": PrimitiveContractType10; "title": string; "canGoBack": PrimitiveContractType10; "canGoForward": PrimitiveContractType10; "lockIdentifier": number };
246
+ export type PrimitiveContractType180 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType181; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
247
+ export type PrimitiveContractType179 = ((event: PrimitiveContractType180) => void);
248
+ export type PrimitiveContractType178 = undefined | PrimitiveContractType179;
249
+ export type PrimitiveContractType184 = undefined | object;
250
+ export type PrimitiveContractType183 = { "uri": string; "method"?: PrimitiveContractType14; "headers"?: PrimitiveContractType184; "body"?: PrimitiveContractType14 };
251
+ export type PrimitiveContractType185 = { "html": string; "baseUrl"?: PrimitiveContractType14 };
252
+ export type PrimitiveContractType182 = undefined | PrimitiveContractType183 | PrimitiveContractType185;
253
+ export type PrimitiveContractType189 = { "data": string; "url": string; "loading": PrimitiveContractType10; "title": string; "canGoBack": PrimitiveContractType10; "canGoForward": PrimitiveContractType10; "lockIdentifier": number };
254
+ export type PrimitiveContractType188 = { "bubbles": PrimitiveContractType4; "cancelable": PrimitiveContractType4; "currentTarget": PrimitiveContractType5; "defaultPrevented": PrimitiveContractType4; "dispatchConfig": PrimitiveContractType6; "eventPhase": PrimitiveContractType7; "preventDefault": PrimitiveContractType8; "isDefaultPrevented": PrimitiveContractType9; "stopPropagation": PrimitiveContractType8; "isPropagationStopped": PrimitiveContractType9; "isTrusted": PrimitiveContractType4; "nativeEvent": PrimitiveContractType189; "persist": PrimitiveContractType8; "target": PrimitiveContractType13; "timeStamp": number; "type": PrimitiveContractType14 };
255
+ export type PrimitiveContractType187 = ((event: PrimitiveContractType188) => void);
256
+ export type PrimitiveContractType186 = undefined | PrimitiveContractType187;
257
+ export type PrimitiveContractType191 = { "set": string; "name": string };
258
+ export type PrimitiveContractType190 = string | PrimitiveContractType191 | PrimitiveContractType56;
259
+
260
+ // --- Primitive prop interfaces (closed, source-derived) ---
261
+ export interface BlockSection<T> { key: string; title?: string; data: ReadonlyArray<T>; }
262
+ export interface BlockItemInfo<T> { item: T; index: number; section?: BlockSection<T>; sectionIndex?: number; }
263
+ export interface SectionItemInfo<T> extends BlockItemInfo<T> { section: BlockSection<T>; sectionIndex: number; }
264
+ export interface ChipsItemInfo<T> extends BlockItemInfo<T> { selected: boolean; select: () => void; }
265
+ export interface CarouselActionOptions { count?: number; animated?: boolean; onFinished?: () => void; }
266
+ export interface CarouselRef { next(options?: CarouselActionOptions): void; prev(options?: CarouselActionOptions): void; scrollTo(options?: CarouselActionOptions & { index?: number }): void; getCurrentIndex(): number; }
267
+ export interface ViewProps {
268
+ style?: StyleProp<ViewStyle>;
269
+ children?: CatalogChildren;
270
+ pointerEvents?: PrimitiveContractType0;
271
+ onLayout?: PrimitiveContractType1;
272
+ testID?: PrimitiveContractType14;
273
+ nativeID?: PrimitiveContractType14;
274
+ accessible?: PrimitiveContractType4;
275
+ accessibilityLabel?: PrimitiveContractType14;
276
+ accessibilityHint?: PrimitiveContractType14;
277
+ accessibilityRole?: PrimitiveContractType14;
278
+ accessibilityState?: PrimitiveContractType15;
279
+ }
280
+ export interface TextProps {
281
+ style?: StyleProp<TextStyle>;
282
+ numberOfLines?: PrimitiveContractType7;
283
+ ellipsizeMode?: PrimitiveContractType18;
284
+ selectable?: PrimitiveContractType4;
285
+ adjustsFontSizeToFit?: PrimitiveContractType4;
286
+ minimumFontScale?: PrimitiveContractType7;
287
+ allowFontScaling?: PrimitiveContractType4;
288
+ maxFontSizeMultiplier?: PrimitiveContractType19;
289
+ onPress?: PrimitiveContractType20;
290
+ children?: CatalogChildren;
291
+ pointerEvents?: PrimitiveContractType0;
292
+ onLayout?: PrimitiveContractType1;
293
+ testID?: PrimitiveContractType14;
294
+ nativeID?: PrimitiveContractType14;
295
+ accessible?: PrimitiveContractType4;
296
+ accessibilityLabel?: PrimitiveContractType14;
297
+ accessibilityHint?: PrimitiveContractType14;
298
+ accessibilityRole?: PrimitiveContractType14;
299
+ accessibilityState?: PrimitiveContractType15;
300
+ }
301
+ export interface PressableProps {
302
+ style?: StyleProp<ViewStyle> | ((state: PrimitiveContractType29) => StyleProp<ViewStyle>);
303
+ children?: CatalogChildren;
304
+ onPress?: PrimitiveContractType20;
305
+ onLongPress?: PrimitiveContractType20;
306
+ onPressIn?: PrimitiveContractType20;
307
+ onPressOut?: PrimitiveContractType20;
308
+ onFocus?: PrimitiveContractType30;
309
+ onBlur?: PrimitiveContractType30;
310
+ disabled?: PrimitiveContractType4;
311
+ focusKey?: PrimitiveContractType14;
312
+ focusAnimation?: PrimitiveContractType35;
313
+ focusable?: PrimitiveContractType4;
314
+ hasTVPreferredFocus?: PrimitiveContractType4;
315
+ delayLongPress?: PrimitiveContractType7;
316
+ onHoverIn?: PrimitiveContractType44;
317
+ onHoverOut?: PrimitiveContractType44;
318
+ android_ripple?: PrimitiveContractType48;
319
+ pressRetentionOffset?: PrimitiveContractType53;
320
+ pointerEvents?: PrimitiveContractType0;
321
+ onLayout?: PrimitiveContractType1;
322
+ testID?: PrimitiveContractType14;
323
+ nativeID?: PrimitiveContractType14;
324
+ accessible?: PrimitiveContractType4;
325
+ accessibilityLabel?: PrimitiveContractType14;
326
+ accessibilityHint?: PrimitiveContractType14;
327
+ accessibilityRole?: PrimitiveContractType14;
328
+ accessibilityState?: PrimitiveContractType15;
329
+ }
330
+ export interface ButtonProps {
331
+ title?: PrimitiveContractType14;
332
+ variant?: PrimitiveContractType135;
333
+ style?: StyleProp<ViewStyle>;
334
+ children?: CatalogChildren;
335
+ pointerEvents?: PrimitiveContractType0;
336
+ onLayout?: PrimitiveContractType1;
337
+ testID?: PrimitiveContractType14;
338
+ nativeID?: PrimitiveContractType14;
339
+ accessible?: PrimitiveContractType4;
340
+ accessibilityLabel?: PrimitiveContractType14;
341
+ accessibilityHint?: PrimitiveContractType14;
342
+ accessibilityRole?: PrimitiveContractType14;
343
+ accessibilityState?: PrimitiveContractType15;
344
+ onBlur?: PrimitiveContractType30;
345
+ onFocus?: PrimitiveContractType30;
346
+ focusable?: PrimitiveContractType4;
347
+ hasTVPreferredFocus?: PrimitiveContractType4;
348
+ onPressIn?: PrimitiveContractType20;
349
+ onPressOut?: PrimitiveContractType20;
350
+ onPress?: PrimitiveContractType20;
351
+ onLongPress?: PrimitiveContractType20;
352
+ disabled?: PrimitiveContractType4;
353
+ focusKey?: PrimitiveContractType14;
354
+ focusAnimation?: PrimitiveContractType35;
355
+ delayLongPress?: PrimitiveContractType7;
356
+ onHoverIn?: PrimitiveContractType44;
357
+ onHoverOut?: PrimitiveContractType44;
358
+ android_ripple?: PrimitiveContractType48;
359
+ pressRetentionOffset?: PrimitiveContractType53;
360
+ }
361
+ export interface TouchableOpacityProps {
362
+ activeOpacity?: PrimitiveContractType7;
363
+ style?: StyleProp<ViewStyle> | ((state: PrimitiveContractType29) => StyleProp<ViewStyle>);
364
+ children?: CatalogChildren;
365
+ onPress?: PrimitiveContractType20;
366
+ onLongPress?: PrimitiveContractType20;
367
+ onPressIn?: PrimitiveContractType20;
368
+ onPressOut?: PrimitiveContractType20;
369
+ onFocus?: PrimitiveContractType30;
370
+ onBlur?: PrimitiveContractType30;
371
+ disabled?: PrimitiveContractType4;
372
+ focusKey?: PrimitiveContractType14;
373
+ focusAnimation?: PrimitiveContractType35;
374
+ focusable?: PrimitiveContractType4;
375
+ hasTVPreferredFocus?: PrimitiveContractType4;
376
+ delayLongPress?: PrimitiveContractType7;
377
+ onHoverIn?: PrimitiveContractType44;
378
+ onHoverOut?: PrimitiveContractType44;
379
+ android_ripple?: PrimitiveContractType48;
380
+ pressRetentionOffset?: PrimitiveContractType53;
381
+ pointerEvents?: PrimitiveContractType0;
382
+ onLayout?: PrimitiveContractType1;
383
+ testID?: PrimitiveContractType14;
384
+ nativeID?: PrimitiveContractType14;
385
+ accessible?: PrimitiveContractType4;
386
+ accessibilityLabel?: PrimitiveContractType14;
387
+ accessibilityHint?: PrimitiveContractType14;
388
+ accessibilityRole?: PrimitiveContractType14;
389
+ accessibilityState?: PrimitiveContractType15;
390
+ }
391
+ export interface ImageProps {
392
+ source?: PrimitiveContractType55;
393
+ resizeMode?: PrimitiveContractType57;
394
+ src?: PrimitiveContractType14;
395
+ alt?: PrimitiveContractType14;
396
+ defaultSource?: PrimitiveContractType55;
397
+ fadeDuration?: PrimitiveContractType7;
398
+ tintColor?: PrimitiveContractType14;
399
+ width?: PrimitiveContractType7;
400
+ height?: PrimitiveContractType7;
401
+ borderRadius?: PrimitiveContractType7;
402
+ style?: StyleProp<TextStyle>;
403
+ testID?: PrimitiveContractType14;
404
+ accessibilityLabel?: PrimitiveContractType14;
405
+ contentFit?: PrimitiveContractType58;
406
+ blurRadius?: PrimitiveContractType7;
407
+ onLoad?: PrimitiveContractType59;
408
+ onLoadStart?: PrimitiveContractType65;
409
+ onLoadEnd?: PrimitiveContractType65;
410
+ onError?: PrimitiveContractType66;
411
+ }
412
+ export interface ScrollViewProps {
413
+ keyboardShouldPersistTaps?: PrimitiveContractType69;
414
+ contentContainerStyle?: StyleProp<ViewStyle>;
415
+ horizontal?: PrimitiveContractType4;
416
+ scrollEnabled?: PrimitiveContractType4;
417
+ viewportOffset?: PrimitiveContractType7;
418
+ scrollPaddingTop?: PrimitiveContractType7;
419
+ showsHorizontalScrollIndicator?: PrimitiveContractType4;
420
+ showsVerticalScrollIndicator?: PrimitiveContractType4;
421
+ onScroll?: PrimitiveContractType70;
422
+ style?: StyleProp<ViewStyle>;
423
+ children?: CatalogChildren;
424
+ pointerEvents?: PrimitiveContractType0;
425
+ onLayout?: PrimitiveContractType1;
426
+ testID?: PrimitiveContractType14;
427
+ nativeID?: PrimitiveContractType14;
428
+ accessible?: PrimitiveContractType4;
429
+ accessibilityLabel?: PrimitiveContractType14;
430
+ accessibilityHint?: PrimitiveContractType14;
431
+ accessibilityRole?: PrimitiveContractType14;
432
+ accessibilityState?: PrimitiveContractType15;
433
+ pagingEnabled?: PrimitiveContractType4;
434
+ snapToInterval?: PrimitiveContractType7;
435
+ snapToAlignment?: PrimitiveContractType78;
436
+ snapToOffsets?: PrimitiveContractType79;
437
+ decelerationRate?: PrimitiveContractType81;
438
+ keyboardDismissMode?: PrimitiveContractType82;
439
+ stickyHeaderIndices?: PrimitiveContractType79;
440
+ bounces?: PrimitiveContractType4;
441
+ nestedScrollEnabled?: PrimitiveContractType4;
442
+ maintainVisibleContentPosition?: PrimitiveContractType83;
443
+ onMomentumScrollEnd?: PrimitiveContractType85;
444
+ onScrollBeginDrag?: PrimitiveContractType85;
445
+ onScrollEndDrag?: PrimitiveContractType85;
446
+ scrollEventThrottle?: PrimitiveContractType7;
447
+ onContentSizeChange?: PrimitiveContractType87;
448
+ minimumZoomScale?: PrimitiveContractType7;
449
+ maximumZoomScale?: PrimitiveContractType7;
450
+ pinchGestureEnabled?: PrimitiveContractType4;
451
+ zoomScale?: PrimitiveContractType7;
452
+ }
453
+ export interface ViewportOffsetScopeProps {
454
+ viewportOffset: number;
455
+ children?: CatalogChildren;
456
+ }
457
+ export interface FlashListProps<T = any> {
458
+ data?: readonly T[] | null;
459
+ renderItem?: (info: { item: T; index: number }) => ReactNode;
460
+ keyExtractor?: (item: T, index: number) => string;
461
+ children?: CatalogChildren;
462
+ numColumns?: PrimitiveContractType7;
463
+ gap?: PrimitiveContractType7;
464
+ rowGap?: PrimitiveContractType7;
465
+ columnGap?: PrimitiveContractType7;
466
+ contentContainerStyle?: StyleProp<ViewStyle>;
467
+ estimatedItemSize?: PrimitiveContractType7;
468
+ perfConfig?: PrimitiveContractType132;
469
+ focusEntry?: PrimitiveContractType134;
470
+ focusScale?: PrimitiveContractType7;
471
+ viewportOffset?: PrimitiveContractType7;
472
+ scrollPaddingStart?: PrimitiveContractType7;
473
+ ListEmptyComponent?: ReactNode | (() => ReactNode);
474
+ ListHeaderComponent?: ReactNode | (() => ReactNode);
475
+ ListFooterComponent?: ReactNode | (() => ReactNode);
476
+ onEndReached?: PrimitiveContractType65;
477
+ onEndReachedThreshold?: PrimitiveContractType7;
478
+ showsHorizontalScrollIndicator?: PrimitiveContractType4;
479
+ showsVerticalScrollIndicator?: PrimitiveContractType4;
480
+ initialScrollIndex?: PrimitiveContractType7;
481
+ horizontal?: PrimitiveContractType4;
482
+ ItemSeparatorComponent?: ReactNode | (() => ReactNode);
483
+ style?: StyleProp<ViewStyle>;
484
+ pointerEvents?: PrimitiveContractType0;
485
+ onLayout?: PrimitiveContractType1;
486
+ testID?: PrimitiveContractType14;
487
+ nativeID?: PrimitiveContractType14;
488
+ accessible?: PrimitiveContractType4;
489
+ accessibilityLabel?: PrimitiveContractType14;
490
+ accessibilityHint?: PrimitiveContractType14;
491
+ accessibilityRole?: PrimitiveContractType14;
492
+ accessibilityState?: PrimitiveContractType15;
493
+ }
494
+ export interface SectionListProps<T> {
495
+ sections: ReadonlyArray<BlockSection<T>>;
496
+ itemKey: (item: T) => string;
497
+ renderItem: (info: SectionItemInfo<T>) => ReactNode;
498
+ renderSectionHeader?: (section: BlockSection<T>) => ReactNode;
499
+ style?: StyleProp<ViewStyle>;
500
+ contentContainerStyle?: StyleProp<ViewStyle>;
501
+ perfConfig?: { overscan?: number };
502
+ focusEntry?: "remember" | "first";
503
+ }
504
+ export interface CarouselProps<T> {
505
+ data: ReadonlyArray<T>;
506
+ itemKey: (item: T) => string;
507
+ renderItem: (info: BlockItemInfo<T>) => ReactNode;
508
+ style?: StyleProp<ViewStyle>;
509
+ contentContainerStyle?: StyleProp<ViewStyle>;
510
+ focusEntry?: "remember" | "first";
511
+ onActiveIndexChange?: (index: number) => void;
512
+ loop?: boolean;
513
+ autoFillData?: boolean;
514
+ mode?: "parallax" | "horizontal-stack" | "vertical-stack";
515
+ modeConfig?: { parallaxScrollingOffset?: number; parallaxScrollingScale?: number; parallaxAdjacentItemScale?: number; showLength?: number; moveSize?: number; stackInterval?: number; scaleInterval?: number; opacityInterval?: number; rotateZDeg?: number; snapDirection?: "left" | "right" };
516
+ width?: number;
517
+ height?: number;
518
+ vertical?: boolean;
519
+ pagingEnabled?: boolean;
520
+ snapEnabled?: boolean;
521
+ overscrollEnabled?: boolean;
522
+ enabled?: boolean;
523
+ autoPlay?: boolean;
524
+ autoPlayReverse?: boolean;
525
+ autoPlayInterval?: number;
526
+ defaultIndex?: number;
527
+ scrollAnimationDuration?: number;
528
+ windowSize?: number;
529
+ minScrollDistancePerSwipe?: number;
530
+ maxScrollDistancePerSwipe?: number;
531
+ fixedDirection?: "positive" | "negative";
532
+ customAnimation?: (value: number, index: number) => ViewStyle;
533
+ ref?: { current: CarouselRef | null };
534
+ pagination?: boolean | { dotSize?: number; gap?: number; color?: string; activeColor?: string; position?: "bottom" | "top" | "left" | "right"; overlay?: boolean };
535
+ focusMode?: "content" | "card";
536
+ onSnapToItem?: (index: number) => void;
537
+ onScrollStart?: () => void;
538
+ onScrollEnd?: (index: number) => void;
539
+ onProgressChange?: (offsetProgress: number, absoluteProgress: number) => void;
540
+ }
541
+ export interface ChipsProps<T> {
542
+ data: ReadonlyArray<T>;
543
+ itemKey: (item: T) => string;
544
+ renderItem: (info: ChipsItemInfo<T>) => ReactNode;
545
+ selectedKey?: string;
546
+ onSelect: (item: T) => void;
547
+ style?: StyleProp<ViewStyle>;
548
+ contentContainerStyle?: StyleProp<ViewStyle>;
549
+ perfConfig?: { overscan?: number };
550
+ focusEntry?: "remember" | "first";
551
+ }
552
+ export interface TextInputProps {
553
+ testID?: PrimitiveContractType14;
554
+ nativeID?: PrimitiveContractType14;
555
+ accessibilityLabel?: PrimitiveContractType14;
556
+ accessibilityHint?: PrimitiveContractType14;
557
+ accessibilityRole?: PrimitiveContractType14;
558
+ accessibilityState?: PrimitiveContractType15;
559
+ onBlur?: PrimitiveContractType89;
560
+ onFocus?: PrimitiveContractType91;
561
+ autoFocus?: PrimitiveContractType4;
562
+ textAlign?: PrimitiveContractType93;
563
+ value?: PrimitiveContractType14;
564
+ defaultValue?: PrimitiveContractType14;
565
+ onChangeText?: PrimitiveContractType94;
566
+ multiline?: PrimitiveContractType4;
567
+ numberOfLines?: PrimitiveContractType7;
568
+ editable?: PrimitiveContractType4;
569
+ placeholder?: PrimitiveContractType14;
570
+ placeholderTextColor?: PrimitiveContractType50;
571
+ secureTextEntry?: PrimitiveContractType4;
572
+ allowFontScaling?: PrimitiveContractType4;
573
+ maxFontSizeMultiplier?: PrimitiveContractType7;
574
+ autoCapitalize?: PrimitiveContractType96;
575
+ autoCorrect?: PrimitiveContractType4;
576
+ maxLength?: PrimitiveContractType7;
577
+ autoComplete?: PrimitiveContractType97;
578
+ textContentType?: PrimitiveContractType98;
579
+ inputMode?: PrimitiveContractType99;
580
+ enterKeyHint?: PrimitiveContractType100;
581
+ readOnly?: PrimitiveContractType4;
582
+ selectTextOnFocus?: PrimitiveContractType4;
583
+ clearTextOnFocus?: PrimitiveContractType4;
584
+ spellCheck?: PrimitiveContractType4;
585
+ submitBehavior?: PrimitiveContractType101;
586
+ onEndEditing?: PrimitiveContractType102;
587
+ selectionColor?: PrimitiveContractType50;
588
+ cursorColor?: PrimitiveContractType50;
589
+ keyboardAppearance?: PrimitiveContractType106;
590
+ passwordRules?: PrimitiveContractType14;
591
+ dataDetectorTypes?: PrimitiveContractType107;
592
+ inputAccessoryViewID?: PrimitiveContractType14;
593
+ inputAccessoryViewButtonLabel?: PrimitiveContractType14;
594
+ smartInsertDelete?: PrimitiveContractType4;
595
+ lineBreakStrategyIOS?: PrimitiveContractType110;
596
+ selection?: PrimitiveContractType111;
597
+ onSelectionChange?: PrimitiveContractType113;
598
+ onKeyPress?: PrimitiveContractType118;
599
+ keyboardType?: PrimitiveContractType122;
600
+ returnKeyType?: PrimitiveContractType123;
601
+ onSubmitEditing?: PrimitiveContractType124;
602
+ onPress?: PrimitiveContractType129;
603
+ showSoftInputOnFocus?: PrimitiveContractType4;
604
+ caretHidden?: PrimitiveContractType4;
605
+ style?: StyleProp<TextStyle> | ((state: PrimitiveContractType131) => StyleProp<TextStyle>);
606
+ focusKey?: PrimitiveContractType14;
607
+ tvKeyboard?: ReactNode | (() => ReactNode);
608
+ }
609
+ export interface ActivityIndicatorProps {
610
+ style?: StyleProp<ViewStyle>;
611
+ testID?: PrimitiveContractType14;
612
+ accessibilityLabel?: PrimitiveContractType14;
613
+ color?: PrimitiveContractType50;
614
+ size?: PrimitiveContractType136;
615
+ animating?: PrimitiveContractType4;
616
+ hidesWhenStopped?: PrimitiveContractType4;
617
+ }
618
+ export interface LinearGradientProps {
619
+ colors: PrimitiveContractType140;
620
+ start?: PrimitiveContractType142;
621
+ end?: PrimitiveContractType142;
622
+ locations?: PrimitiveContractType144;
623
+ style?: StyleProp<ViewStyle>;
624
+ children?: CatalogChildren;
625
+ pointerEvents?: PrimitiveContractType0;
626
+ onLayout?: PrimitiveContractType1;
627
+ testID?: PrimitiveContractType14;
628
+ nativeID?: PrimitiveContractType14;
629
+ accessible?: PrimitiveContractType4;
630
+ accessibilityLabel?: PrimitiveContractType14;
631
+ accessibilityHint?: PrimitiveContractType14;
632
+ accessibilityRole?: PrimitiveContractType14;
633
+ accessibilityState?: PrimitiveContractType15;
634
+ }
635
+ export interface SafeAreaViewProps {
636
+ style?: StyleProp<ViewStyle>;
637
+ children?: CatalogChildren;
638
+ pointerEvents?: PrimitiveContractType0;
639
+ onLayout?: PrimitiveContractType1;
640
+ testID?: PrimitiveContractType14;
641
+ nativeID?: PrimitiveContractType14;
642
+ accessible?: PrimitiveContractType4;
643
+ accessibilityLabel?: PrimitiveContractType14;
644
+ accessibilityHint?: PrimitiveContractType14;
645
+ accessibilityRole?: PrimitiveContractType14;
646
+ accessibilityState?: PrimitiveContractType15;
647
+ edges?: PrimitiveContractType159;
648
+ mode?: PrimitiveContractType162;
649
+ }
650
+ export interface BlurViewProps {
651
+ blurAmount?: PrimitiveContractType7;
652
+ style?: StyleProp<ViewStyle>;
653
+ children?: CatalogChildren;
654
+ pointerEvents?: PrimitiveContractType0;
655
+ onLayout?: PrimitiveContractType1;
656
+ testID?: PrimitiveContractType14;
657
+ nativeID?: PrimitiveContractType14;
658
+ accessible?: PrimitiveContractType4;
659
+ accessibilityLabel?: PrimitiveContractType14;
660
+ accessibilityHint?: PrimitiveContractType14;
661
+ accessibilityRole?: PrimitiveContractType14;
662
+ accessibilityState?: PrimitiveContractType15;
663
+ }
664
+ export interface CheckBoxProps {
665
+ value?: PrimitiveContractType4;
666
+ onValueChange?: PrimitiveContractType137;
667
+ disabled?: PrimitiveContractType4;
668
+ color?: PrimitiveContractType14;
669
+ style?: StyleProp<ViewStyle>;
670
+ pointerEvents?: PrimitiveContractType0;
671
+ onLayout?: PrimitiveContractType1;
672
+ testID?: PrimitiveContractType14;
673
+ nativeID?: PrimitiveContractType14;
674
+ accessible?: PrimitiveContractType4;
675
+ accessibilityLabel?: PrimitiveContractType14;
676
+ accessibilityHint?: PrimitiveContractType14;
677
+ accessibilityRole?: PrimitiveContractType14;
678
+ accessibilityState?: PrimitiveContractType15;
679
+ }
680
+ export interface KeyboardAvoidingViewProps {
681
+ style?: StyleProp<ViewStyle>;
682
+ children?: CatalogChildren;
683
+ pointerEvents?: PrimitiveContractType0;
684
+ onLayout?: PrimitiveContractType1;
685
+ testID?: PrimitiveContractType14;
686
+ nativeID?: PrimitiveContractType14;
687
+ accessible?: PrimitiveContractType4;
688
+ accessibilityLabel?: PrimitiveContractType14;
689
+ accessibilityHint?: PrimitiveContractType14;
690
+ accessibilityRole?: PrimitiveContractType14;
691
+ accessibilityState?: PrimitiveContractType15;
692
+ enabled?: PrimitiveContractType4;
693
+ contentContainerStyle?: StyleProp<ViewStyle>;
694
+ behavior?: PrimitiveContractType139;
695
+ keyboardVerticalOffset?: PrimitiveContractType7;
696
+ }
697
+ export interface ModalProps {
698
+ style?: StyleProp<ViewStyle>;
699
+ children?: CatalogChildren;
700
+ testID?: PrimitiveContractType14;
701
+ presentationStyle?: "fullScreen" | "pageSheet" | "formSheet" | "overFullScreen" | undefined;
702
+ supportedOrientations?: PrimitiveContractType146;
703
+ onDismiss?: PrimitiveContractType65;
704
+ allowSwipeDismissal?: PrimitiveContractType4;
705
+ statusBarTranslucent?: PrimitiveContractType4;
706
+ navigationBarTranslucent?: PrimitiveContractType4;
707
+ animationType?: PrimitiveContractType149;
708
+ transparent?: PrimitiveContractType4;
709
+ visible?: PrimitiveContractType4;
710
+ onRequestClose?: PrimitiveContractType150;
711
+ onShow?: PrimitiveContractType150;
712
+ backdropColor?: PrimitiveContractType50;
713
+ }
714
+ export interface SlidingTextProps {
715
+ focused: PrimitiveContractType10;
716
+ duration?: PrimitiveContractType7;
717
+ marqueeDelay?: PrimitiveContractType7;
718
+ repeatSpacer?: PrimitiveContractType7;
719
+ animationType?: PrimitiveContractType166;
720
+ loop?: PrimitiveContractType4;
721
+ bounce?: PrimitiveContractType4;
722
+ marqueeOnMount?: PrimitiveContractType4;
723
+ disabled?: PrimitiveContractType4;
724
+ isRTL?: PrimitiveContractType4;
725
+ onMarqueeComplete?: PrimitiveContractType65;
726
+ onScrollStart?: PrimitiveContractType65;
727
+ style?: StyleProp<TextStyle>;
728
+ children?: CatalogChildren;
729
+ pointerEvents?: PrimitiveContractType0;
730
+ onLayout?: PrimitiveContractType1;
731
+ testID?: PrimitiveContractType14;
732
+ nativeID?: PrimitiveContractType14;
733
+ accessible?: PrimitiveContractType4;
734
+ accessibilityLabel?: PrimitiveContractType14;
735
+ accessibilityHint?: PrimitiveContractType14;
736
+ accessibilityRole?: PrimitiveContractType14;
737
+ accessibilityState?: PrimitiveContractType15;
738
+ numberOfLines?: PrimitiveContractType7;
739
+ ellipsizeMode?: PrimitiveContractType18;
740
+ }
741
+ export interface SvgProps {
742
+ uri?: PrimitiveContractType167;
743
+ width?: PrimitiveContractType168;
744
+ height?: PrimitiveContractType168;
745
+ fill?: PrimitiveContractType14;
746
+ }
747
+ export interface SwitchProps {
748
+ style?: StyleProp<ViewStyle>;
749
+ testID?: PrimitiveContractType14;
750
+ accessibilityLabel?: PrimitiveContractType14;
751
+ value?: PrimitiveContractType4;
752
+ disabled?: PrimitiveContractType4;
753
+ onValueChange?: PrimitiveContractType169;
754
+ trackColor?: PrimitiveContractType171;
755
+ thumbColor?: PrimitiveContractType50;
756
+ ios_backgroundColor?: PrimitiveContractType50;
757
+ }
758
+ export interface SliderProps {
759
+ value?: PrimitiveContractType7;
760
+ minimumValue?: PrimitiveContractType7;
761
+ maximumValue?: PrimitiveContractType7;
762
+ step?: PrimitiveContractType7;
763
+ disabled?: PrimitiveContractType4;
764
+ minimumTrackTintColor?: PrimitiveContractType14;
765
+ maximumTrackTintColor?: PrimitiveContractType14;
766
+ thumbTintColor?: PrimitiveContractType14;
767
+ onValueChange?: PrimitiveContractType164;
768
+ onSlidingComplete?: PrimitiveContractType164;
769
+ style?: StyleProp<ViewStyle>;
770
+ pointerEvents?: PrimitiveContractType0;
771
+ onLayout?: PrimitiveContractType1;
772
+ testID?: PrimitiveContractType14;
773
+ nativeID?: PrimitiveContractType14;
774
+ accessible?: PrimitiveContractType4;
775
+ accessibilityLabel?: PrimitiveContractType14;
776
+ accessibilityHint?: PrimitiveContractType14;
777
+ accessibilityRole?: PrimitiveContractType14;
778
+ accessibilityState?: PrimitiveContractType15;
779
+ }
780
+ export interface SkeletonProps {
781
+ width?: PrimitiveContractType163;
782
+ height?: PrimitiveContractType163;
783
+ borderRadius?: PrimitiveContractType7;
784
+ backgroundColor?: PrimitiveContractType14;
785
+ highlightColor?: PrimitiveContractType14;
786
+ style?: StyleProp<ViewStyle>;
787
+ pointerEvents?: PrimitiveContractType0;
788
+ onLayout?: PrimitiveContractType1;
789
+ testID?: PrimitiveContractType14;
790
+ nativeID?: PrimitiveContractType14;
791
+ accessible?: PrimitiveContractType4;
792
+ accessibilityLabel?: PrimitiveContractType14;
793
+ accessibilityHint?: PrimitiveContractType14;
794
+ accessibilityRole?: PrimitiveContractType14;
795
+ accessibilityState?: PrimitiveContractType15;
796
+ }
797
+ export interface WebViewProps {
798
+ style?: StyleProp<ViewStyle>;
799
+ testID?: PrimitiveContractType14;
800
+ onLoad?: PrimitiveContractType173;
801
+ onError?: PrimitiveContractType178;
802
+ scrollEnabled?: PrimitiveContractType4;
803
+ source?: PrimitiveContractType182;
804
+ onMessage?: PrimitiveContractType186;
805
+ }
806
+ export interface RefreshControlProps {
807
+ style?: StyleProp<ViewStyle>;
808
+ testID?: PrimitiveContractType14;
809
+ accessibilityLabel?: PrimitiveContractType14;
810
+ enabled?: PrimitiveContractType4;
811
+ tintColor?: PrimitiveContractType50;
812
+ size?: PrimitiveContractType154;
813
+ refreshing: PrimitiveContractType10;
814
+ onRefresh?: PrimitiveContractType155;
815
+ colors?: PrimitiveContractType157;
816
+ progressBackgroundColor?: PrimitiveContractType50;
817
+ title?: PrimitiveContractType14;
818
+ titleColor?: PrimitiveContractType50;
819
+ progressViewOffset?: PrimitiveContractType7;
820
+ }
821
+ export interface IconProps {
822
+ icon: PrimitiveContractType190;
823
+ size: number;
824
+ color: string;
825
+ }
826
+
827
+ // --- Composite prop / base interfaces (source-derived) ---
828
+ export interface BaseHeroProps {
829
+ /** Array of slide data objects. */
830
+ slides: HeroSlide[];
831
+ /** Controlled active slide index. Default: 0 */
832
+ activeIndex?: number;
833
+ /** Callback when active slide changes. */
834
+ onSlideChange?: (index: number) => void;
835
+ /** Press handler with slide index. */
836
+ onSlidePress?: (index: number) => void;
837
+ /** Enable auto-advancement. Default: true */
838
+ autoPlay?: boolean;
839
+ /** Interval between auto-advances in ms. Default: 6000 */
840
+ autoPlayInterval?: number;
841
+ /** Slide transition type. Default: 'fade' */
842
+ transition?: 'fade' | 'slide' | 'none';
843
+ /** Transition animation duration in ms. Default: 500 */
844
+ transitionDuration?: number;
845
+ /** Pause auto-play on user interaction. Default: true */
846
+ pauseOnInteraction?: boolean;
847
+ /** Scale on TV focus / mobile press. Default: 1.05 */
848
+ focusScale?: number;
849
+ /** Scale on mobile press start. Default: 1.02 */
850
+ pressScale?: number;
851
+ /** Animation duration in ms. Default: 200 */
852
+ focusAnimationDuration?: number;
853
+ /** Corner radius. Default: 12 */
854
+ borderRadius?: number;
855
+ /** Shadow color on focus. */
856
+ shadowColor?: string;
857
+ /** Press handler (whole hero). */
858
+ onPress?: () => void;
859
+ /** Focus handler. */
860
+ onFocus?: (e: any) => void;
861
+ /** Blur handler. */
862
+ onBlur?: (e: any) => void;
863
+ /** Enable focus shadow/elevation animation on TV focus. Default: true. Set to false to disable shadow glow on focus. */
864
+ enableFocusShadow?: boolean;
865
+ /** Sibling dimming via ListFocusContext. Default: false */
866
+ enableDimming?: boolean;
867
+ /** Item index within the list (from FlashList renderItem). Used for index-based focus tracking. */
868
+ index?: number;
869
+ /** Background color for bottom gradient blend. Should match page background. Typically bound to theme: { "$expr": "theme", "path": "colors.background" } */
870
+ gradientColor?: string;
871
+ /** Screen reader label. */
872
+ accessibilityLabel?: string;
873
+ /** Container style override. */
874
+ style?: StyleProp<ViewStyle>;
875
+ }
876
+ export interface BaseTileProps {
877
+ /** Full-cover background image. Optional for tiles that take several images. */
878
+ image?: string | { uri: string };
879
+ /** Tile aspect ratio. Each tile defines its own default. */
880
+ aspectRatio?: number;
881
+ /** Shadow color on focus — use dominant color of the image. */
882
+ shadowColor?: string;
883
+ /** Scale multiplier when focused (TV) or pressed (mobile). Default: 1.08 */
884
+ focusScale?: number;
885
+ /** Scale multiplier on mobile press. Default: 1.03 */
886
+ pressScale?: number;
887
+ /** Animation duration in ms. Default: 200 */
888
+ focusAnimationDuration?: number;
889
+ /** Corner radius. Default: 12 */
890
+ borderRadius?: number;
891
+ /** Spatial nav focus key (web only). */
892
+ focusKey?: string;
893
+ /** Press handler. */
894
+ onPress?: () => void;
895
+ /** Focus handler. */
896
+ onFocus?: (e: any) => void;
897
+ /** Blur handler. */
898
+ onBlur?: (e: any) => void;
899
+ /** Accessibility label for screen readers / TV focus announcements. */
900
+ accessibilityLabel?: string;
901
+ /** Container style override. */
902
+ style?: StyleProp<ViewStyle>;
903
+ /** Enable the focus shadow/elevation animation. Default: true. */
904
+ enableFocusShadow?: boolean;
905
+ /** Dim unfocused siblings in the same list via ListFocusContext. Default: true. */
906
+ enableDimming?: boolean;
907
+ /** Item index within the list (from FlashList renderItem). Used for index-based focus tracking. */
908
+ index?: number;
909
+ /** Total items in the list; edge items scale from the left/right origin. */
910
+ totalItems?: number;
911
+ }
912
+ export interface BillboardHeroProps extends BaseHeroProps {
913
+ /** Hero height. Default: getFormFactor()-based (450 portrait / 550 landscape). */
914
+ height?: number;
915
+ /** Bottom gradient colors. */
916
+ gradientColors?: string[];
917
+ /** Show/movie logo image. Landscape: center-left. Portrait: center. */
918
+ logo?: ReactNode;
919
+ /** Title text, shown when no logo is supplied. */
920
+ title?: string;
921
+ /** Synopsis text, clamped to three lines. */
922
+ description?: string;
923
+ /** Action buttons row (Play, More Info). */
924
+ actions?: ReactNode;
925
+ /** Badge labels (NEW, 4K) — top-left. */
926
+ ribbons?: ReactNode;
927
+ /** Custom overlay content — full area. */
928
+ overlay?: ReactNode;
929
+ /** Scrims rendered below the text content and above the built-in bottom gradient. */
930
+ underlay?: ReactNode;
931
+ }
932
+ export type CastOperation = 'showPicker' | 'stop';
933
+ export interface CastSnapshot {
934
+ readonly supported: boolean;
935
+ readonly available: boolean;
936
+ readonly canCast: boolean;
937
+ readonly unavailableReason: CastUnavailableReason | null;
938
+ readonly state: 'idle' | 'connecting' | 'active';
939
+ readonly deviceName: string | null;
940
+ readonly pending: boolean;
941
+ readonly lastResult: MediaOperationResult | null;
942
+ }
943
+ export interface CastTechnology extends CastSnapshot {
944
+ /** Opens output selection; closing the picker does not mean a connection changed. */
945
+ readonly showPicker: () => Promise<MediaOperationResult>;
946
+ /** Stops Chromecast; AirPlay is inert. Use its picker and select the local device. */
947
+ readonly stop: () => Promise<MediaOperationResult>;
948
+ }
949
+ export type CastTechnologyName = 'airplay' | 'chromecast';
950
+ export type CastUnavailableReason = 'platform' | 'not-configured' | 'no-source' | 'drm-callback' | 'drm-key-system' | 'local-source' | 'receiver-no-drm' | 'request-headers' | 'unsupported-source' | 'backend';
951
+ export interface CinematicHeroProps extends BaseHeroProps {
952
+ /** Hero height. Default: getFormFactor()-based. */
953
+ height?: number;
954
+ /** Aspect ratio of thumbnails in the strip. Default: 16/9 */
955
+ thumbnailAspectRatio?: number;
956
+ /** Width of each thumbnail. Default: 80 */
957
+ thumbnailWidth?: number;
958
+ /** Primary logo/title image — center of hero. */
959
+ logo?: ReactNode;
960
+ /** Title text, shown below the logo. */
961
+ title?: string;
962
+ /** Supporting line below the title ("Original Movie", release date, runtime). */
963
+ subtitle?: ReactNode;
964
+ /** Play button + icon buttons. */
965
+ actions?: ReactNode;
966
+ /** Custom thumbnail content, replacing the default strip. */
967
+ thumbnails?: ReactNode;
968
+ /** Custom overlay — full area. */
969
+ overlay?: ReactNode;
970
+ }
971
+ export interface FocusGroupProps {
972
+ /** Axis the arrow keys move along inside the group; defaults to horizontal. */
973
+ direction?: 'horizontal' | 'vertical';
974
+ /** Return focus to the last focused child when focus re-enters the group. */
975
+ remember?: boolean;
976
+ /** Keep focus inside the group, for modals and menus; focus returns to the opener when it closes. */
977
+ trap?: boolean;
978
+ /** Take focus once when the group mounts. */
979
+ autoFocus?: boolean;
980
+ children?: React.ReactNode;
981
+ }
982
+ export interface GalleryHeroProps extends Omit<BaseHeroProps, 'transition'> {
983
+ /** Hero height. Default: getFormFactor()-based (380 portrait / 450 landscape). */
984
+ height?: number;
985
+ /** Aspect ratio of each card. Default: 2/3 */
986
+ cardAspectRatio?: number;
987
+ /** Width of center card. Default: 150 */
988
+ cardWidth?: number;
989
+ /** Scale of adjacent cards. Default: 0.85 */
990
+ peekScale?: number;
991
+ /** Opacity of adjacent cards. Default: 0.5 */
992
+ peekOpacity?: number;
993
+ /** Enable 3D rotateY on side cards. Default: true */
994
+ perspective?: boolean;
995
+ /** Cards visible at once. Default: getFormFactor()-based (5 landscape / 3 portrait). */
996
+ visibleCards?: number;
997
+ /** Content title, over the card's bottom gradient. */
998
+ title?: string;
999
+ /** Genre, year — below the title. */
1000
+ metadata?: ReactNode;
1001
+ /** Play, Details buttons — rendered on the center card only. */
1002
+ actions?: ReactNode;
1003
+ /** Custom overlay on the card image area. */
1004
+ overlay?: ReactNode;
1005
+ }
1006
+ export interface HeroSlide {
1007
+ [key: string]: any;
1008
+ /** Unique identifier for this slide. */
1009
+ id: string;
1010
+ /** Background image URL. */
1011
+ image: string | { uri: string };
1012
+ /** Optional video URL (used by TrailerHero). */
1013
+ videoSrc?: string;
1014
+ }
1015
+ export type MediaOperationError = Readonly<{
1016
+ code: 'network' | 'storage-full' | 'permission' | 'license' | 'picker' | 'connection' | 'receiver' | 'backend';
1017
+ message: string;
1018
+ }>;
1019
+ export type MediaOperationFailure = | { outcome: 'unsupported'; reason: 'platform' | 'capability' }
1020
+ | { outcome: 'unavailable'; reason: MediaUnavailableReason }
1021
+ | { outcome: 'pending' }
1022
+ | { outcome: 'failed'; error: MediaOperationError };
1023
+ export type MediaOperationResult = { outcome: 'completed' } | MediaOperationFailure;
1024
+ export type MediaUnavailableReason = 'not-configured' | 'no-source' | 'source-ineligible' | 'no-receiver' | 'not-authorized' | 'not-found' | 'not-completed' | 'license-expired' | 'online-required';
1025
+ export interface MorphTileProps extends BaseTileProps {
1026
+ /** Full-cover background image. Required. */
1027
+ image: string | { uri: string };
1028
+ /** Width expansion ratio when focused. Default: 2.7 */
1029
+ expandRatio?: number;
1030
+ /** Duration of the width expansion in ms. Default: 400 */
1031
+ expandDuration?: number;
1032
+ /** Duration of the metadata fade-in after expansion in ms. Default: 200 */
1033
+ contentRevealDuration?: number;
1034
+ /** Title, shown at the bottom when collapsed and in the panel when expanded. */
1035
+ title?: string;
1036
+ /** Metadata row, visible after expansion. */
1037
+ metadata?: ReactNode;
1038
+ /** Synopsis, visible after expansion. */
1039
+ description?: string;
1040
+ /** Genre tags, visible after expansion. */
1041
+ genres?: ReactNode;
1042
+ /** Ribbon badges overlaying the image edge (top-left). */
1043
+ ribbons?: ReactNode;
1044
+ /** General overlay on the image area. */
1045
+ overlay?: ReactNode;
1046
+ }
1047
+ export interface PlayerCast {
1048
+ readonly airplay: CastTechnology;
1049
+ readonly chromecast: CastTechnology;
1050
+ }
1051
+ export interface PlayerCastSnapshot {
1052
+ readonly airplay: CastSnapshot;
1053
+ readonly chromecast: CastSnapshot;
1054
+ }
1055
+ export interface PosterTileProps extends BaseTileProps {
1056
+ /** Full-cover background image. Required. */
1057
+ image: string | { uri: string };
1058
+ /** Tile image aspect ratio. Default: 2/3 (portrait). */
1059
+ aspectRatio?: number;
1060
+ /** Title text below the image. Truncated to one line. */
1061
+ title?: string;
1062
+ /** Subtitle below the title (e.g. genre, network). */
1063
+ subtitle?: string;
1064
+ /** Metadata line below the subtitle (e.g. rating, year). */
1065
+ metadata?: string;
1066
+ /** Ribbon badges overlaying the image edge (top-left). */
1067
+ ribbons?: ReactNode;
1068
+ /** General overlay on the image area. */
1069
+ overlay?: ReactNode;
1070
+ }
1071
+ export interface ProgressTileProps extends BaseTileProps {
1072
+ /** Full-cover background image. Required. */
1073
+ image: string | { uri: string };
1074
+ /** Tile aspect ratio. Default: 16/9. */
1075
+ aspectRatio?: number;
1076
+ /** Watch progress as 0-1 ratio. Drives the default progress bar. */
1077
+ progressValue?: number;
1078
+ /** Color of the default progress bar fill. Default: '#e50914'. */
1079
+ progressColor?: string;
1080
+ /** Title over the bottom of the image. Truncated to one line. */
1081
+ title?: string;
1082
+ /** Metadata line below the title (e.g. time remaining). */
1083
+ metadata?: string;
1084
+ /** Replaces the default progress bar. */
1085
+ progressBar?: ReactNode;
1086
+ /** Ribbon badges on the image (top-left). */
1087
+ ribbons?: ReactNode;
1088
+ /** General overlay on the image area. */
1089
+ overlay?: ReactNode;
1090
+ }
1091
+ export interface RankTileProps extends BaseTileProps {
1092
+ /** Full-cover background image. Required. */
1093
+ image: string | { uri: string };
1094
+ /** Tile aspect ratio. Default: 2/3 (portrait). */
1095
+ aspectRatio?: number;
1096
+ /** The ranking position (1-10+). Drives the watermark number and badge. */
1097
+ rank: number;
1098
+ /** Badge gradient colors. Default: ['#e50914', '#b20710']. */
1099
+ badgeColors?: [string, string];
1100
+ /** Title text over the bottom of the image. Truncated to one line. */
1101
+ title?: string;
1102
+ /** Movement indicator below the title (e.g. "▲ 3 today"). */
1103
+ movement?: string;
1104
+ /** Replaces the default watermark rank number. */
1105
+ rankOverlay?: ReactNode;
1106
+ /** Ribbon badges on the image (top-left). */
1107
+ ribbons?: ReactNode;
1108
+ /** General overlay on the image area. */
1109
+ overlay?: ReactNode;
1110
+ }
1111
+ export type ResizeMode = 'contain' | 'cover' | 'stretch' | 'none';
1112
+ export interface ScrubFilmstripProps {
1113
+ player: VideoPlayerInstance;
1114
+ count?: number;
1115
+ cardWidth?: number;
1116
+ style?: StyleProp<ViewStyle>;
1117
+ }
1118
+ export interface ScrubThumbnailProps {
1119
+ player: VideoPlayerInstance;
1120
+ frameWidth?: number;
1121
+ style?: StyleProp<ViewStyle>;
1122
+ }
1123
+ export interface SlickTileProps {
1124
+ /** Full-cover background image. String URL or { uri: string } object. */
1125
+ image: string | { uri: string };
1126
+ /** Tile aspect ratio. Default: 2/3 (portrait). */
1127
+ aspectRatio?: number;
1128
+ /** Shadow color on focus — use dominant color of the image. */
1129
+ shadowColor?: string;
1130
+ /** Scale multiplier when focused (TV) or pressed (mobile). Default: 1.08 */
1131
+ focusScale?: number;
1132
+ /** Scale multiplier on mobile press. Default: 1.03 */
1133
+ pressScale?: number;
1134
+ /** Animation duration in ms. Default: 200 */
1135
+ focusAnimationDuration?: number;
1136
+ /** Corner radius. Default: 12 */
1137
+ borderRadius?: number;
1138
+ /** Spatial nav focus key (web only). */
1139
+ focusKey?: string;
1140
+ /** Press handler. */
1141
+ onPress?: () => void;
1142
+ /** Focus handler. */
1143
+ onFocus?: (e: any) => void;
1144
+ /** Blur handler. */
1145
+ onBlur?: (e: any) => void;
1146
+ /** Accessibility label for screen readers / TV focus announcements. */
1147
+ accessibilityLabel?: string;
1148
+ /** Container style override. */
1149
+ style?: StyleProp<ViewStyle>;
1150
+ /** Enable focus shadow/elevation animation on TV focus. Default: true. */
1151
+ enableFocusShadow?: boolean;
1152
+ /** Enable sibling dimming via ListFocusContext. Default: true. */
1153
+ enableDimming?: boolean;
1154
+ /** Item index within the list (from FlashList renderItem). Used for index-based focus tracking. */
1155
+ index?: number;
1156
+ /** Total items in the list; edge items scale from the left/right origin. */
1157
+ totalItems?: number;
1158
+ /** Title text over the bottom gradient. Truncated to one line. */
1159
+ title?: string;
1160
+ /** Secondary line below the title. */
1161
+ subtitle?: string;
1162
+ /** Ribbon badges overlaying the image edge (top-left). */
1163
+ ribbons?: ReactNode;
1164
+ /** General overlay on the image area. */
1165
+ overlay?: ReactNode;
1166
+ }
1167
+ export interface SpotlightTileProps extends BaseTileProps {
1168
+ /** Full-cover background image. String URL or { uri: string } object. */
1169
+ image: string | { uri: string };
1170
+ /** Tile aspect ratio. Default: 16/9 (landscape). */
1171
+ aspectRatio?: number;
1172
+ /** Title, shown bottom-left at rest and centered in the focused overlay. */
1173
+ title?: string;
1174
+ /** Synopsis shown only in the focused overlay. */
1175
+ description?: string;
1176
+ /** Metadata row shown only in the focused overlay. */
1177
+ metadata?: ReactNode;
1178
+ /** Ribbon badges overlaying the image edge (top-left). */
1179
+ ribbons?: ReactNode;
1180
+ /** General overlay on the image area. */
1181
+ overlay?: ReactNode;
1182
+ }
1183
+ export interface StackTileProps extends Omit<BaseTileProps, 'image'> {
1184
+ /** Array of 1-3 image sources for the stack layers. Duplicates last if fewer than 3. */
1185
+ images: (string | { uri: string })[];
1186
+ /** Image aspect ratio for each layer. Default: 2/3 (portrait). */
1187
+ aspectRatio?: number;
1188
+ /** Corner radius for each layer. Default: 10. */
1189
+ borderRadius?: number;
1190
+ /** Collection title below the stack. Truncated to one line. */
1191
+ title?: string;
1192
+ /** Item count text below the title (e.g. "12 titles"). */
1193
+ countLabel?: string;
1194
+ /** Ribbon badges on the front image (top-left). */
1195
+ ribbons?: ReactNode;
1196
+ /** General overlay on the front image. */
1197
+ overlay?: ReactNode;
1198
+ }
1199
+ export interface SubtitleStyle {
1200
+ fontSizeScale?: number;
1201
+ fontColor?: string;
1202
+ windowColor?: string;
1203
+ edgeStyle?: 'none' | 'dropShadow' | 'raised' | 'depressed' | 'uniform';
1204
+ edgeColor?: string;
1205
+ bottomInset?: number;
1206
+ }
1207
+ export interface TVKeyboardProps {
1208
+ /** Frame: "bottom" panel (default), "side" panel, "full" screen, or "search" inline beside results. */
1209
+ variant?: 'bottom' | 'side' | 'full' | 'search';
1210
+ /** Screen edge the side panel pins to; default "right". */
1211
+ side?: 'left' | 'right';
1212
+ /** Pages offered, in order; default ["latin", "symbols"]. Add "arabic" for an Arabic letter page. */
1213
+ layouts?: ('latin' | 'arabic' | 'symbols')[];
1214
+ /** Panel or container; for bottom and full it sizes the whole panel (960 wide by default). */
1215
+ style?: StyleProp<ViewStyle>;
1216
+ /** Key column; its width is the key grid width (636 for bottom and full by default). */
1217
+ contentStyle?: StyleProp<ViewStyle>;
1218
+ /** Every key at rest; its height sets the key height for the whole grid. */
1219
+ keyStyle?: StyleProp<ViewStyle>;
1220
+ /** The focused key. */
1221
+ keyFocusedStyle?: StyleProp<ViewStyle>;
1222
+ /** The brief flash when a key is pressed. */
1223
+ keyPressedStyle?: StyleProp<ViewStyle>;
1224
+ /** Shift while capitals are on, and the page key while symbols show. */
1225
+ keyActiveStyle?: StyleProp<ViewStyle>;
1226
+ /** Label of an active toggle key when it is not focused. */
1227
+ keyLabelActiveStyle?: StyleProp<TextStyle>;
1228
+ /** A key that does nothing right now; it stays focusable. */
1229
+ keyDimmedStyle?: StyleProp<ViewStyle>;
1230
+ /** Label of a dimmed key. */
1231
+ keyLabelDimmedStyle?: StyleProp<TextStyle>;
1232
+ /** Letter, digit and symbol key labels. */
1233
+ keyLabelStyle?: StyleProp<TextStyle>;
1234
+ /** Space, Delete, Clear, Done, page, Shift and script key labels. */
1235
+ specialKeyLabelStyle?: StyleProp<TextStyle>;
1236
+ /** Label of the focused key. */
1237
+ keyLabelFocusedStyle?: StyleProp<TextStyle>;
1238
+ /** The Done key at rest. */
1239
+ doneKeyStyle?: StyleProp<ViewStyle>;
1240
+ /** The Done key's label. */
1241
+ doneKeyLabelStyle?: StyleProp<TextStyle>;
1242
+ /** Box that shows the typed text. */
1243
+ echoStyle?: StyleProp<ViewStyle>;
1244
+ /** Typed text and placeholder inside the echo box. */
1245
+ echoTextStyle?: StyleProp<TextStyle>;
1246
+ /** Field-name line and message line above the echo box. */
1247
+ labelStyle?: StyleProp<TextStyle>;
1248
+ /** Mic icon colour while listening. */
1249
+ micListeningColor?: string;
1250
+ /** Focus grow of one-column keys; default 1.08. */
1251
+ keyFocusScale?: number;
1252
+ /** Focus grow of keys two or more columns wide; default 1.03. */
1253
+ wideKeyFocusScale?: number;
1254
+ /** Search only: the search text. */
1255
+ value?: string;
1256
+ /** Search only: called with the new text on every key. */
1257
+ onChangeText?: (text: string) => void;
1258
+ /** Search only: shown while the text is empty; default "Search". */
1259
+ placeholder?: string;
1260
+ }
1261
+ export interface ThumbTileProps extends BaseTileProps {
1262
+ /** Full-cover background image. Required. */
1263
+ image: string | { uri: string };
1264
+ /** Tile image aspect ratio. Default: 16/9 (landscape). */
1265
+ aspectRatio?: number;
1266
+ /** Title text below the image. Truncated to one line. */
1267
+ title?: string;
1268
+ /** Subtitle below the title (e.g. channel or source name). */
1269
+ subtitle?: string;
1270
+ /** Metadata line (e.g. view count, timestamp). */
1271
+ metadata?: string;
1272
+ /** Duration badge text, shown bottom-right on the image. */
1273
+ duration?: string;
1274
+ /** Ribbon badges on the image edge (top-left). */
1275
+ ribbons?: ReactNode;
1276
+ /** General overlay on the image area. */
1277
+ overlay?: ReactNode;
1278
+ }
1279
+ export interface TrailerHeroProps extends BaseHeroProps {
1280
+ /** Hero height. Default: getFormFactor()-based. */
1281
+ height?: number;
1282
+ /** Delay before video starts after slide becomes active. Default: 1000 */
1283
+ videoDelay?: number;
1284
+ /** Start muted. Default: true */
1285
+ muted?: boolean;
1286
+ /** Show mute/unmute toggle button. Default: true */
1287
+ showSoundToggle?: boolean;
1288
+ /** Fallback behavior when no videoSrc on slide. Default: 'parallax' */
1289
+ fallbackMode?: 'static' | 'parallax';
1290
+ /** Content title. Landscape: bottom-left. Portrait: below video. */
1291
+ title?: string;
1292
+ /** Match score, year, rating, duration. */
1293
+ metadata?: ReactNode;
1294
+ /** Synopsis text, clamped to two lines. */
1295
+ description?: string;
1296
+ /** Watch Now, + List buttons. */
1297
+ actions?: ReactNode;
1298
+ /** Replaces the built-in "TRAILER" label — top-left. */
1299
+ badge?: ReactNode;
1300
+ /** Custom overlay — full video area. */
1301
+ overlay?: ReactNode;
1302
+ }
1303
+ export interface VideoErrorEvent {
1304
+ error: { code: number; message: string };
1305
+ }
1306
+ export interface VideoLoadEvent {
1307
+ duration: number;
1308
+ naturalSize?: { width: number; height: number };
1309
+ }
1310
+ export interface VideoPlayerInstance {
1311
+ readonly cast: PlayerCast;
1312
+ readonly playing: boolean;
1313
+ /** Seconds played, updated about four times a second. */
1314
+ readonly position: number;
1315
+ readonly duration: number;
1316
+ readonly buffering: boolean;
1317
+ readonly ended: boolean;
1318
+ readonly error: string | null;
1319
+ /** False once `autoHideControls` hides the controls; any command shows them again. */
1320
+ readonly controlsVisible: boolean;
1321
+ readonly scrubbing: boolean;
1322
+ /** The scrub preview while scrubbing, otherwise `position`; draw the track and time from this. */
1323
+ readonly displayPosition: number;
1324
+ /** `displayPosition` as a fraction of `duration`, 0 to 1. */
1325
+ readonly progress: number;
1326
+ /** `displayPosition`, `duration` and the time left as `m:ss` or `h:mm:ss` (remaining starts with `-`). */
1327
+ readonly elapsedText: string;
1328
+ readonly durationText: string;
1329
+ readonly remainingText: string;
1330
+ /** Playback speed; 1 is normal. */
1331
+ readonly rate: number;
1332
+ /** The media's audio tracks and the selected one's id; the list is empty until the media loads. */
1333
+ readonly audioTracks: readonly VideoTrack[];
1334
+ readonly audioTrack: string | null;
1335
+ /** The media's subtitle tracks and the shown one's id, null while subtitles are off. */
1336
+ readonly subtitleTracks: readonly VideoTrack[];
1337
+ readonly subtitleTrack: string | null;
1338
+ readonly play: () => void;
1339
+ readonly pause: () => void;
1340
+ readonly togglePlay: () => void;
1341
+ readonly stop: () => void;
1342
+ readonly seekTo: (seconds: number) => void;
1343
+ readonly seekBy: (seconds: number) => void;
1344
+ readonly showControls: () => void;
1345
+ readonly hideControls: () => void;
1346
+ readonly toggleControls: () => void;
1347
+ /** Moves the scrub preview one step, repeating faster while the key is held; it seeks once input rests. */
1348
+ readonly scrubForward: () => void;
1349
+ readonly scrubBackward: () => void;
1350
+ /** Moves the scrub preview to `seconds`, for a dragged track. */
1351
+ readonly scrubTo: (seconds: number) => void;
1352
+ /** Seeks to the preview now; `cancelScrub` drops it. */
1353
+ readonly commitScrub: () => void;
1354
+ readonly cancelScrub: () => void;
1355
+ /** Plays at `rate` times normal speed, from 0.25 to 4. */
1356
+ readonly setRate: (rate: number) => void;
1357
+ readonly selectAudioTrack: (id: string) => void;
1358
+ /** Shows the subtitle track `id`; null turns subtitles off. */
1359
+ readonly selectSubtitleTrack: (id: string | null) => void;
1360
+ }
1361
+ export interface VideoPlayerProps {
1362
+ source: VideoSource;
1363
+ style?: StyleProp<ViewStyle>;
1364
+ paused?: boolean;
1365
+ muted?: boolean;
1366
+ loop?: boolean;
1367
+ volume?: number;
1368
+ rate?: number;
1369
+ resizeMode?: ResizeMode;
1370
+ onLoad?: (event: VideoLoadEvent) => void;
1371
+ onProgress?: (event: VideoProgressEvent) => void;
1372
+ onEnd?: () => void;
1373
+ onError?: (event: VideoErrorEvent) => void;
1374
+ onBuffer?: (event: { isBuffering: boolean }) => void;
1375
+ }
1376
+ export interface VideoProgressEvent {
1377
+ currentTime: number;
1378
+ duration: number;
1379
+ }
1380
+ export interface VideoSource {
1381
+ uri: string;
1382
+ identity?: string;
1383
+ type?: 'mp4' | 'hls' | 'dash';
1384
+ subtitles?: VideoSubtitle[];
1385
+ drm?: {
1386
+ type: 'widevine' | 'playready' | 'fairplay';
1387
+ licenseServer: string;
1388
+ headers?: Record<string, string>;
1389
+ };
1390
+ }
1391
+ export interface VideoSubtitle {
1392
+ uri: string;
1393
+ language: string;
1394
+ label?: string;
1395
+ }
1396
+ export interface VideoThumbnailProps {
1397
+ player: VideoPlayerInstance;
1398
+ offset?: number;
1399
+ style?: StyleProp<ViewStyle>;
1400
+ }
1401
+ export interface VideoTileProps extends BaseTileProps {
1402
+ /** Full-cover background/poster image. Required. */
1403
+ image: string | { uri: string };
1404
+ /** Tile aspect ratio. Default: 16/9. */
1405
+ aspectRatio?: number;
1406
+ /** URL to the preview video clip. If not provided, tile behaves like SlickTile. */
1407
+ previewVideo?: string;
1408
+ /** Delay in ms before video starts playing after focus. Default: 1500 */
1409
+ previewDelay?: number;
1410
+ /** Title text over the bottom gradient. Truncated to one line. */
1411
+ title?: string;
1412
+ /** Metadata line below the title. */
1413
+ metadata?: string;
1414
+ /** Ribbon badges overlaying the image edge (top-left). */
1415
+ ribbons?: ReactNode;
1416
+ /** General overlay on the image area. */
1417
+ overlay?: ReactNode;
1418
+ }
1419
+ export interface VideoTrack {
1420
+ readonly id: string;
1421
+ readonly label: string;
1422
+ readonly language: string | null;
1423
+ }
1424
+ export interface VideoViewProps {
1425
+ player: VideoPlayerInstance;
1426
+ style?: StyleProp<ViewStyle>;
1427
+ resizeMode?: ResizeMode;
1428
+ subtitleStyle?: SubtitleStyle;
1429
+ }
1430
+
1431
+ // --- Component declarations (componentMap order) ---
1432
+ export const View: (props: ViewProps) => ReactNode;
1433
+ export const Text: (props: TextProps) => ReactNode;
1434
+ export const Pressable: (props: PressableProps) => ReactNode;
1435
+ export const Button: (props: ButtonProps) => ReactNode;
1436
+ export const TouchableOpacity: (props: TouchableOpacityProps) => ReactNode;
1437
+ export const Image: (props: ImageProps) => ReactNode;
1438
+ export const ScrollView: (props: ScrollViewProps) => ReactNode;
1439
+ export const ViewportOffsetScope: (props: ViewportOffsetScopeProps) => ReactNode;
1440
+ export const FlashList: <T>(props: FlashListProps<T>) => ReactNode;
1441
+ export const SectionList: <T>(props: SectionListProps<T>) => ReactNode;
1442
+ export const Carousel: <T>(props: CarouselProps<T>) => ReactNode;
1443
+ export const Chips: <T>(props: ChipsProps<T>) => ReactNode;
1444
+ export const TextInput: (props: TextInputProps) => ReactNode;
1445
+ export const ActivityIndicator: (props: ActivityIndicatorProps) => ReactNode;
1446
+ export const LinearGradient: (props: LinearGradientProps) => ReactNode;
1447
+ export const SafeAreaView: (props: SafeAreaViewProps) => ReactNode;
1448
+ export const BlurView: (props: BlurViewProps) => ReactNode;
1449
+ export const CheckBox: (props: CheckBoxProps) => ReactNode;
1450
+ export const KeyboardAvoidingView: (props: KeyboardAvoidingViewProps) => ReactNode;
1451
+ export const Modal: (props: ModalProps) => ReactNode;
1452
+ export const SlidingText: (props: SlidingTextProps) => ReactNode;
1453
+ export const Svg: (props: SvgProps) => ReactNode;
1454
+ export const Switch: (props: SwitchProps) => ReactNode;
1455
+ export const Slider: (props: SliderProps) => ReactNode;
1456
+ export const Skeleton: (props: SkeletonProps) => ReactNode;
1457
+ export const WebView: (props: WebViewProps) => ReactNode;
1458
+ export const RefreshControl: (props: RefreshControlProps) => ReactNode;
1459
+ export const VideoPlayer: (props: VideoPlayerProps) => ReactNode;
1460
+ export const VideoView: (props: VideoViewProps) => ReactNode;
1461
+ export const VideoThumbnail: (props: VideoThumbnailProps) => ReactNode;
1462
+ export const ScrubThumbnail: (props: ScrubThumbnailProps) => ReactNode;
1463
+ export const ScrubFilmstrip: (props: ScrubFilmstripProps) => ReactNode;
1464
+ export const SlickTile: (props: SlickTileProps) => ReactNode;
1465
+ export const ProgressTile: (props: ProgressTileProps) => ReactNode;
1466
+ export const VideoTile: (props: VideoTileProps) => ReactNode;
1467
+ export const SpotlightTile: (props: SpotlightTileProps) => ReactNode;
1468
+ export const PosterTile: (props: PosterTileProps) => ReactNode;
1469
+ export const ThumbTile: (props: ThumbTileProps) => ReactNode;
1470
+ export const RankTile: (props: RankTileProps) => ReactNode;
1471
+ export const MorphTile: (props: MorphTileProps) => ReactNode;
1472
+ export const StackTile: (props: StackTileProps) => ReactNode;
1473
+ export const BillboardHero: (props: BillboardHeroProps) => ReactNode;
1474
+ export const TVKeyboard: (props: TVKeyboardProps) => ReactNode;
1475
+ export const CinematicHero: (props: CinematicHeroProps) => ReactNode;
1476
+ export const GalleryHero: (props: GalleryHeroProps) => ReactNode;
1477
+ export const TrailerHero: (props: TrailerHeroProps) => ReactNode;
1478
+ export const Icon: (props: IconProps) => ReactNode;
1479
+ export const FocusGroup: (props: FocusGroupProps) => ReactNode;
1480
+ /** The focus boundary every screen's content sits in; wrap each registered screen's content in one. */
1481
+ export const Screen: (props: { children?: {} | null }) => ReactNode;
1482
+
1483
+ // --- Styling, theme, focus and layout ---
1484
+ export const StyleSheet: {
1485
+ create<T extends Record<string, ViewStyle>>(styles: T): T;
1486
+ };
1487
+ export interface DefaultTheme {
1488
+ colors: Record<string, string>;
1489
+ spacing: Record<string, number>;
1490
+ gradients: Record<string, string | readonly string[]>;
1491
+ }
1492
+ /** Filled in by the workspace's adelin-env.d.ts from theme.ts. */
1493
+ export interface ThemeOverride {}
1494
+ export type ThemeOf<T> = T;
1495
+ export const theme: keyof ThemeOverride extends never ? DefaultTheme : ThemeOverride;
1496
+ export interface ThemeConfig {
1497
+ colors: Record<string, string>;
1498
+ spacing?: Record<string, number>;
1499
+ gradients?: Record<string, string>;
1500
+ }
1501
+ /** The theme, written once in `theme.ts` as `export default createTheme({ … })`. */
1502
+ export function createTheme<T extends ThemeConfig>(theme: T & { [K in Exclude<keyof T, keyof ThemeConfig>]: never }): T;
1503
+ export function useFocus(): (focusKey: string) => void;
1504
+ export function focus(key: string): void;
1505
+ /** Reactive authoring units: logical app units, or normalized TV canvas units. */
1506
+ export function useWindowDimensions(): { width: number; height: number };
1507
+ /** Reactive safe-area insets in Adelin canvas units. */
1508
+ export function useSafeAreaInsets(): { top: number; right: number; bottom: number; left: number };
1509
+ /** Scrolls the enclosing ScrollView to `y` while focus is inside its one child. */
1510
+ export const ScrollTarget: (props: { y: number; children: CatalogChildren }) => ReactNode;
1511
+ export const Portal: (props: { open: boolean; onClose?: () => void; children?: CatalogChildren }) => ReactNode;
1512
+ // --- Video ---
1513
+ /** A player to show with <VideoView player={player} />; undefined source idles it; the app maps remote keys with useTVEventHandler and calls player.scrubForward()/scrubBackward(); autoHideControls: true hides controlsVisible after 4 s of playback without input; scrub tunes the tap step, hold tiers, repeat and commit timing, and pause/resume (resume: false keeps it paused after the seek); entryId resumes and saves the active profile's watch progress for that library entry. */
1514
+ export function useVideoPlayer(
1515
+ source: VideoSource | undefined,
1516
+ options?: { autoPlay?: boolean; loop?: boolean; muted?: boolean; autoHideControls?: boolean; scrub?: { step?: number; hold?: { after: number; step: number }[]; repeatMs?: number; commitMs?: number; pause?: boolean; resume?: number | false }; entryId?: string },
1517
+ ): VideoPlayerInstance;
1518
+ }