@launchdarkly/toolbar 2.0.0-beta.1 → 2.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 (216) hide show
  1. package/README.md +7 -5
  2. package/cdn/toolbar.min.js +984 -10
  3. package/cdn/toolbar.min.js.LICENSE.txt +14 -0
  4. package/dist/core/services/DevServerClient.d.ts +10 -8
  5. package/dist/core/services/FlagStateManager.d.ts +2 -0
  6. package/dist/core/tests/mocks/providers.d.ts +132 -0
  7. package/dist/core/types/devServer.d.ts +2 -3
  8. package/dist/core/ui/{Toolbar/components → Buttons}/IconButton.d.ts +2 -1
  9. package/dist/core/ui/{Toolbar/components → Buttons}/StarButton.css.d.ts +1 -0
  10. package/dist/core/ui/JsonEditor/JsonEditor.d.ts +2 -1
  11. package/dist/core/ui/Toolbar/LaunchDarklyToolbar.d.ts +0 -1
  12. package/dist/core/ui/Toolbar/components/{AuthenticationModal.d.ts → AuthenticationModal/AuthenticationModal.d.ts} +1 -1
  13. package/dist/core/ui/Toolbar/components/CopyableText.css.d.ts +4 -0
  14. package/dist/core/ui/Toolbar/components/CopyableText.d.ts +18 -0
  15. package/dist/core/ui/Toolbar/components/FilterOptions/FilterOptions.css.d.ts +1 -0
  16. package/dist/core/ui/Toolbar/components/FilterOptions/FilterOptions.d.ts +1 -0
  17. package/dist/core/ui/Toolbar/components/FilterOptions/ShareUrlButton.css.d.ts +2 -0
  18. package/dist/core/ui/Toolbar/components/FilterOptions/ShareUrlButton.d.ts +7 -0
  19. package/dist/core/ui/Toolbar/components/LoadingScreen/LoadingScreen.css.d.ts +7 -0
  20. package/dist/core/ui/Toolbar/components/LoadingScreen/LoadingScreen.d.ts +5 -0
  21. package/dist/core/ui/Toolbar/components/LoadingScreen/index.d.ts +1 -0
  22. package/dist/core/ui/Toolbar/components/ShareStatePopover/ShareStatePopover.css.d.ts +10 -0
  23. package/dist/core/ui/Toolbar/components/ShareStatePopover/ShareStatePopover.d.ts +15 -0
  24. package/dist/core/ui/Toolbar/components/ShareStatePopover/index.d.ts +2 -0
  25. package/dist/core/ui/Toolbar/components/icons/ChartHistogram.d.ts +5 -0
  26. package/dist/core/ui/Toolbar/components/icons/ChipAiIcon.d.ts +5 -0
  27. package/dist/core/ui/Toolbar/components/icons/ClickIcon.d.ts +5 -0
  28. package/dist/core/ui/Toolbar/components/icons/CursorIcon.d.ts +7 -0
  29. package/dist/core/ui/Toolbar/components/icons/ExternalLinkIcon.d.ts +6 -0
  30. package/dist/core/ui/Toolbar/components/icons/FilterTuneIcon.d.ts +5 -0
  31. package/dist/core/ui/Toolbar/components/icons/FlaskIcon.d.ts +5 -0
  32. package/dist/core/ui/Toolbar/components/icons/Icon.css.d.ts +1 -0
  33. package/dist/core/ui/Toolbar/components/icons/InfoIcon.d.ts +5 -0
  34. package/dist/core/ui/Toolbar/components/icons/ShareIcon.d.ts +5 -0
  35. package/dist/core/ui/Toolbar/components/icons/index.d.ts +10 -0
  36. package/dist/core/ui/Toolbar/components/index.d.ts +3 -4
  37. package/dist/core/ui/Toolbar/components/{ExpandedToolbarContent.d.ts → legacy/ExpandedToolbarContentLegacy.d.ts} +4 -3
  38. package/dist/core/ui/Toolbar/components/{FlagControls.d.ts → legacy/FlagControls.d.ts} +1 -1
  39. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/Header.d.ts +1 -1
  40. package/dist/core/ui/Toolbar/components/{LocalFlagControls.d.ts → legacy/LocalFlagControls.d.ts} +2 -2
  41. package/dist/core/ui/Toolbar/components/{LocalObjectFlagControlListItem.d.ts → legacy/LocalObjectFlagControlListItem.d.ts} +2 -2
  42. package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/EventsTabContent.d.ts +1 -1
  43. package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/FlagSdkOverrideTabContent.d.ts +1 -1
  44. package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/SettingsTabContent.d.ts +1 -1
  45. package/dist/core/ui/Toolbar/components/{TabContentRenderer.d.ts → legacy/TabContentRenderer.d.ts} +2 -2
  46. package/dist/core/ui/Toolbar/components/legacy/index.d.ts +1 -0
  47. package/dist/core/ui/Toolbar/components/new/AnalyticsConsentToast/AnalyticsConsentToast.d.ts +5 -0
  48. package/dist/core/ui/Toolbar/components/new/AnalyticsConsentToast/AnalyticsConsentToast.module.css.d.ts +13 -0
  49. package/dist/core/ui/Toolbar/components/new/AnalyticsConsentToast/index.d.ts +1 -0
  50. package/dist/core/ui/Toolbar/components/new/ContentActions.d.ts +1 -0
  51. package/dist/core/ui/Toolbar/components/new/ContentActions.module.css.d.ts +8 -0
  52. package/dist/core/ui/Toolbar/components/new/ContentRenderer.d.ts +1 -0
  53. package/dist/core/ui/Toolbar/components/new/Contexts/AddContextForm.d.ts +6 -0
  54. package/dist/core/ui/Toolbar/components/new/Contexts/AddContextForm.module.css.d.ts +14 -0
  55. package/dist/core/ui/Toolbar/components/new/Contexts/ContextItem.d.ts +9 -0
  56. package/dist/core/ui/Toolbar/components/new/Contexts/ContextItem.module.css.d.ts +19 -0
  57. package/dist/core/ui/Toolbar/components/new/Contexts/ContextList.d.ts +1 -0
  58. package/dist/core/ui/Toolbar/components/new/Contexts/ContextList.module.css.d.ts +8 -0
  59. package/dist/core/ui/Toolbar/components/new/Contexts/ContextListContent.d.ts +1 -0
  60. package/dist/core/ui/Toolbar/components/new/Contexts/index.d.ts +4 -0
  61. package/dist/core/ui/Toolbar/components/new/ExpandedToolbarContent.d.ts +10 -0
  62. package/dist/core/ui/Toolbar/components/new/ExpandedToolbarContent.module.css.d.ts +2 -0
  63. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagControls.d.ts +37 -0
  64. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagControls.module.css.d.ts +9 -0
  65. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagItem.d.ts +12 -0
  66. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagItem.module.css.d.ts +18 -0
  67. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagList.d.ts +1 -0
  68. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagList.module.css.d.ts +5 -0
  69. package/dist/core/ui/Toolbar/components/new/FeatureFlags/FlagListContent.d.ts +1 -0
  70. package/dist/core/ui/Toolbar/components/new/FeatureFlags/types.d.ts +9 -0
  71. package/dist/core/ui/Toolbar/components/new/FilterOverlay/FilterOverlay.d.ts +11 -0
  72. package/dist/core/ui/Toolbar/components/new/FilterOverlay/FilterOverlay.module.css.d.ts +17 -0
  73. package/dist/core/ui/Toolbar/components/new/FilterOverlay/index.d.ts +1 -0
  74. package/dist/core/ui/Toolbar/components/new/Header/ToolbarHeader.d.ts +7 -0
  75. package/dist/core/ui/Toolbar/components/new/Header/ToolbarHeader.module.css.d.ts +6 -0
  76. package/dist/core/ui/Toolbar/components/new/IconBar/IconBar.d.ts +6 -0
  77. package/dist/core/ui/Toolbar/components/new/IconBar/IconBar.module.css.d.ts +6 -0
  78. package/dist/core/ui/Toolbar/components/new/Interactive/InteractiveContent.d.ts +1 -0
  79. package/dist/core/ui/Toolbar/components/new/Interactive/InteractiveContent.module.css.d.ts +4 -0
  80. package/dist/core/ui/Toolbar/components/new/Interactive/InteractiveWrapper.d.ts +10 -0
  81. package/dist/core/ui/Toolbar/components/new/Interactive/MCPSetupAlert.d.ts +10 -0
  82. package/dist/core/ui/Toolbar/components/new/Interactive/MCPSetupAlert.module.css.d.ts +12 -0
  83. package/dist/core/ui/Toolbar/components/new/Interactive/SelectedElementInfo.d.ts +1 -0
  84. package/dist/core/ui/Toolbar/components/new/Interactive/SelectedElementInfo.module.css.d.ts +21 -0
  85. package/dist/core/ui/Toolbar/components/new/Interactive/SelectionModeBar.d.ts +1 -0
  86. package/dist/core/ui/Toolbar/components/new/Interactive/SelectionOverlay.d.ts +2 -0
  87. package/dist/core/ui/Toolbar/components/new/Interactive/WorkflowCard.d.ts +13 -0
  88. package/dist/core/ui/Toolbar/components/new/Interactive/WorkflowCard.module.css.d.ts +27 -0
  89. package/dist/core/ui/Toolbar/components/new/Interactive/WorkflowSection.d.ts +6 -0
  90. package/dist/core/ui/Toolbar/components/new/Interactive/WorkflowSection.module.css.d.ts +5 -0
  91. package/dist/core/ui/Toolbar/components/new/Interactive/index.d.ts +9 -0
  92. package/dist/core/ui/Toolbar/components/new/Interactive/utils/elementUtils.d.ts +56 -0
  93. package/dist/core/ui/Toolbar/components/new/Interactive/utils/ideLinks.d.ts +58 -0
  94. package/dist/core/ui/Toolbar/components/new/Interactive/utils/promptBuilder.d.ts +26 -0
  95. package/dist/core/ui/Toolbar/components/new/Interactive/utils/throttle.d.ts +10 -0
  96. package/dist/core/ui/Toolbar/components/new/Interactive/workflowConfigs.d.ts +36 -0
  97. package/dist/core/ui/Toolbar/components/new/Monitoring/EventsContent.d.ts +1 -0
  98. package/dist/core/ui/Toolbar/components/new/Monitoring/EventsContent.module.css.d.ts +25 -0
  99. package/dist/core/ui/Toolbar/components/new/SearchSection.d.ts +8 -0
  100. package/dist/core/ui/Toolbar/components/new/SearchSection.module.css.d.ts +3 -0
  101. package/dist/core/ui/Toolbar/components/new/Settings/ConnectionStatus.d.ts +5 -0
  102. package/dist/core/ui/Toolbar/components/new/Settings/ConnectionStatus.module.css.d.ts +6 -0
  103. package/dist/core/ui/Toolbar/components/new/Settings/EnvironmentSelector.d.ts +1 -0
  104. package/dist/core/ui/Toolbar/components/new/Settings/GeneralSettings.d.ts +1 -0
  105. package/dist/core/ui/Toolbar/components/new/Settings/LogoutButton.d.ts +1 -0
  106. package/dist/core/ui/Toolbar/components/new/Settings/LogoutButton.module.css.d.ts +1 -0
  107. package/dist/core/ui/Toolbar/components/new/Settings/PositionSelector.d.ts +6 -0
  108. package/dist/core/ui/Toolbar/components/new/Settings/Privacy/PrivacySettings.d.ts +1 -0
  109. package/dist/core/ui/Toolbar/components/new/Settings/ProjectSelector.d.ts +1 -0
  110. package/dist/core/ui/Toolbar/components/new/Settings/SettingsContent.module.css.d.ts +5 -0
  111. package/dist/core/ui/Toolbar/components/new/Settings/SettingsItem.d.ts +8 -0
  112. package/dist/core/ui/Toolbar/components/new/Settings/SettingsItem.module.css.d.ts +6 -0
  113. package/dist/core/ui/Toolbar/components/new/Settings/SettingsSection.d.ts +7 -0
  114. package/dist/core/ui/Toolbar/components/new/Settings/SettingsSection.module.css.d.ts +3 -0
  115. package/dist/core/ui/Toolbar/components/new/Settings/ShareButton.d.ts +5 -0
  116. package/dist/core/ui/Toolbar/components/new/Settings/ShareButton.module.css.d.ts +1 -0
  117. package/dist/core/ui/Toolbar/components/new/Settings/index.d.ts +8 -0
  118. package/dist/core/ui/Toolbar/components/new/SubtabDropdown.d.ts +8 -0
  119. package/dist/core/ui/Toolbar/components/new/SubtabDropdown.module.css.d.ts +10 -0
  120. package/dist/core/ui/Toolbar/components/new/TabBar.d.ts +1 -0
  121. package/dist/core/ui/Toolbar/components/new/TabBar.module.css.d.ts +4 -0
  122. package/dist/core/ui/Toolbar/components/new/Tooltip.d.ts +9 -0
  123. package/dist/core/ui/Toolbar/components/new/Tooltip.module.css.d.ts +2 -0
  124. package/dist/core/ui/Toolbar/components/new/context/ActiveSubtabProvider.d.ts +12 -0
  125. package/dist/core/ui/Toolbar/components/new/context/FiltersProvider.d.ts +41 -0
  126. package/dist/core/ui/Toolbar/components/new/context/TabSearchProvider.d.ts +12 -0
  127. package/dist/core/ui/Toolbar/components/new/context/index.d.ts +3 -0
  128. package/dist/core/ui/Toolbar/components/new/index.d.ts +10 -0
  129. package/dist/core/ui/Toolbar/components/new/types.d.ts +16 -0
  130. package/dist/core/ui/Toolbar/constants/animations.d.ts +14 -0
  131. package/dist/core/ui/Toolbar/constants/virtualization.d.ts +1 -0
  132. package/dist/core/ui/Toolbar/context/DevServerProvider.d.ts +2 -0
  133. package/dist/core/ui/Toolbar/context/ElementSelectionProvider.d.ts +52 -0
  134. package/dist/core/ui/Toolbar/context/FlagSdkOverrideProvider.d.ts +5 -1
  135. package/dist/core/ui/Toolbar/context/api/ApiBundleProvider.d.ts +8 -0
  136. package/dist/core/ui/Toolbar/context/{ApiProvider.d.ts → api/ApiProvider.d.ts} +1 -2
  137. package/dist/core/ui/Toolbar/context/{AuthProvider.d.ts → api/AuthProvider.d.ts} +3 -3
  138. package/dist/core/ui/Toolbar/context/api/ContextsProvider.d.ts +19 -0
  139. package/dist/core/ui/Toolbar/context/api/EnvironmentProvider.d.ts +12 -0
  140. package/dist/core/ui/Toolbar/context/{FlagsProvider.d.ts → api/FlagsProvider.d.ts} +5 -4
  141. package/dist/core/ui/Toolbar/context/{ProjectProvider.d.ts → api/ProjectProvider.d.ts} +4 -3
  142. package/dist/core/ui/Toolbar/context/api/index.d.ts +8 -0
  143. package/dist/core/ui/Toolbar/context/index.d.ts +7 -7
  144. package/dist/core/ui/Toolbar/context/{ActiveTabProvider.d.ts → state/ActiveTabProvider.d.ts} +3 -3
  145. package/dist/core/ui/Toolbar/context/state/PluginsProvider.d.ts +16 -0
  146. package/dist/core/ui/Toolbar/context/{SearchProvider.d.ts → state/SearchProvider.d.ts} +2 -2
  147. package/dist/core/ui/Toolbar/context/state/ToolbarStateBundleProvider.d.ts +13 -0
  148. package/dist/core/ui/Toolbar/context/state/ToolbarStateProvider.d.ts +35 -0
  149. package/dist/core/ui/Toolbar/context/{ToolbarUIProvider.d.ts → state/ToolbarUIProvider.d.ts} +1 -1
  150. package/dist/core/ui/Toolbar/context/state/index.d.ts +6 -0
  151. package/dist/core/ui/Toolbar/context/telemetry/AnalyticsPreferencesProvider.d.ts +14 -0
  152. package/dist/core/ui/Toolbar/context/{AnalyticsProvider.d.ts → telemetry/AnalyticsProvider.d.ts} +2 -2
  153. package/dist/core/ui/Toolbar/context/{InternalClientProvider.d.ts → telemetry/InternalClientProvider.d.ts} +15 -1
  154. package/dist/core/ui/Toolbar/context/telemetry/TelemetryBundleProvider.d.ts +13 -0
  155. package/dist/core/ui/Toolbar/context/telemetry/index.d.ts +4 -0
  156. package/dist/core/ui/Toolbar/hooks/index.d.ts +2 -1
  157. package/dist/core/ui/Toolbar/hooks/useLocalStorage.d.ts +10 -0
  158. package/dist/core/ui/Toolbar/hooks/useReducedMotion.d.ts +5 -0
  159. package/dist/core/ui/Toolbar/hooks/useToolbarAnimations.d.ts +1 -1
  160. package/dist/core/ui/Toolbar/types/toolbar.d.ts +3 -2
  161. package/dist/core/ui/Toolbar/utils/clipboard.d.ts +6 -0
  162. package/dist/core/ui/Toolbar/utils/context.d.ts +33 -0
  163. package/dist/core/ui/Toolbar/utils/localStorage.d.ts +29 -1
  164. package/dist/core/utils/analytics.d.ts +56 -2
  165. package/dist/core/utils/feedback.d.ts +18 -0
  166. package/dist/core/utils/urlOverrides.d.ts +105 -0
  167. package/dist/flags/toolbarFlags.d.ts +7 -1
  168. package/dist/index.cjs +8 -6
  169. package/dist/index.cjs.map +1 -1
  170. package/dist/js/263.js +88 -0
  171. package/dist/js/263.js.map +1 -0
  172. package/dist/js/758.js +446 -0
  173. package/dist/js/758.js.map +1 -0
  174. package/dist/js/index.js +3 -527
  175. package/dist/js/index.js.map +1 -1
  176. package/dist/js/plugins.js +1 -0
  177. package/dist/js/react.js +1 -0
  178. package/dist/js/types-entry.js +0 -0
  179. package/dist/plugins.cjs +483 -0
  180. package/dist/plugins.cjs.map +1 -0
  181. package/dist/plugins.d.ts +21 -0
  182. package/dist/react/useLaunchDarklyToolbar.d.ts +1 -1
  183. package/dist/react.cjs +125 -0
  184. package/dist/react.cjs.map +1 -0
  185. package/dist/react.d.ts +25 -0
  186. package/dist/types-entry.cjs +20 -0
  187. package/dist/types-entry.cjs.map +1 -0
  188. package/dist/types-entry.d.ts +12 -0
  189. package/package.json +98 -50
  190. package/dist/core/ui/Toolbar/components/Popover.css.d.ts +0 -2
  191. package/dist/core/ui/Toolbar/hooks/useToolbarState.d.ts +0 -25
  192. package/dist/core/ui/{Toolbar/components → Buttons}/IconButton.css.d.ts +0 -0
  193. package/dist/core/ui/{Toolbar/components → Buttons}/IconLinkButton.d.ts +0 -0
  194. package/dist/core/ui/{Toolbar/components → Buttons}/StarButton.d.ts +0 -0
  195. package/dist/core/ui/{Toolbar/components → Select}/Select.css.d.ts +0 -0
  196. package/dist/core/ui/{Toolbar/components → Select}/Select.d.ts +0 -0
  197. package/dist/core/ui/Toolbar/components/{AuthenticationModal.css.d.ts → AuthenticationModal/AuthenticationModal.css.d.ts} +0 -0
  198. package/dist/core/ui/Toolbar/components/{LoginScreen.css.d.ts → LoginScreen/LoginScreen.css.d.ts} +0 -0
  199. package/dist/core/ui/Toolbar/components/{LoginScreen.d.ts → LoginScreen/LoginScreen.d.ts} +0 -0
  200. package/dist/core/ui/Toolbar/components/{ActionButtonsContainer.css.d.ts → legacy/ActionButtonsContainer.css.d.ts} +0 -0
  201. package/dist/core/ui/Toolbar/components/{ActionButtonsContainer.d.ts → legacy/ActionButtonsContainer.d.ts} +0 -0
  202. package/dist/core/ui/Toolbar/components/{FlagControls.css.d.ts → legacy/FlagControls.css.d.ts} +0 -0
  203. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/Header.css.d.ts +0 -0
  204. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/components/ActionButtons.d.ts +0 -0
  205. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/components/EnvironmentLabel.d.ts +0 -0
  206. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/components/LogoSection.d.ts +0 -0
  207. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/components/SearchSection.d.ts +0 -0
  208. package/dist/core/ui/Toolbar/{Header → components/legacy/Header}/components/index.d.ts +1 -1
  209. /package/dist/core/ui/Toolbar/components/{LocalFlagControls.css.d.ts → legacy/LocalFlagControls.css.d.ts} +0 -0
  210. /package/dist/core/ui/Toolbar/components/{LocalObjectFlagControlListItem.css.d.ts → legacy/LocalObjectFlagControlListItem.css.d.ts} +0 -0
  211. /package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/EventsTabContent.css.d.ts +0 -0
  212. /package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/FlagDevServerTabContent.css.d.ts +0 -0
  213. /package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/FlagDevServerTabContent.d.ts +0 -0
  214. /package/dist/core/ui/Toolbar/{TabContent → components/legacy/TabContent}/SettingsTab.css.d.ts +0 -0
  215. /package/dist/core/ui/Toolbar/components/{TabContentRenderer.css.d.ts → legacy/TabContentRenderer.css.d.ts} +0 -0
  216. /package/dist/core/ui/Toolbar/context/{IFrameProvider.d.ts → api/IFrameProvider.d.ts} +0 -0
@@ -0,0 +1,14 @@
1
+ export declare const container: string;
2
+ export declare const header: string;
3
+ export declare const title: string;
4
+ export declare const closeButton: string;
5
+ export declare const form: string;
6
+ export declare const field: string;
7
+ export declare const label: string;
8
+ export declare const required: string;
9
+ export declare const input: string;
10
+ export declare const jsonEditorContainer: string;
11
+ export declare const errorText: string;
12
+ export declare const actions: string;
13
+ export declare const cancelButton: string;
14
+ export declare const submitButton: string;
@@ -0,0 +1,9 @@
1
+ import type { LDContext } from 'launchdarkly-js-client-sdk';
2
+ interface ContextItemProps {
3
+ context: LDContext;
4
+ isActiveContext: boolean;
5
+ handleHeightChange?: (index: number, height: number) => void;
6
+ index?: number;
7
+ }
8
+ export declare const ContextItem: import("react").NamedExoticComponent<ContextItemProps>;
9
+ export {};
@@ -0,0 +1,19 @@
1
+ export declare const container: string;
2
+ export declare const header: string;
3
+ export declare const containerActive: string;
4
+ export declare const containerClickable: string;
5
+ export declare const info: string;
6
+ export declare const nameRow: string;
7
+ export declare const name: string;
8
+ export declare const keyRow: string;
9
+ export declare const key: string;
10
+ export declare const kindBadge: string;
11
+ export declare const anonymousBadge: string;
12
+ export declare const activeDot: string;
13
+ export declare const actions: string;
14
+ export declare const deleteButton: string;
15
+ export declare const iconButton: string;
16
+ export declare const expandButton: string;
17
+ export declare const chevron: string;
18
+ export declare const chevronExpanded: string;
19
+ export declare const editActions: string;
@@ -0,0 +1 @@
1
+ export declare const ContextList: import("react").NamedExoticComponent<object>;
@@ -0,0 +1,8 @@
1
+ export declare const container: string;
2
+ export declare const statsHeader: string;
3
+ export declare const statsText: string;
4
+ export declare const addButton: string;
5
+ export declare const scrollContainer: string;
6
+ export declare const virtualInner: string;
7
+ export declare const loadingMore: string;
8
+ export declare const loadingMoreText: string;
@@ -0,0 +1 @@
1
+ export declare const ContextListContent: import("react").NamedExoticComponent<object>;
@@ -0,0 +1,4 @@
1
+ export { ContextListContent } from './ContextListContent';
2
+ export { ContextList } from './ContextList';
3
+ export { ContextItem } from './ContextItem';
4
+ export { AddContextForm } from './AddContextForm';
@@ -0,0 +1,10 @@
1
+ import type { MouseEvent as ReactMouseEvent } from 'react';
2
+ import { TabId } from '../../types/toolbar';
3
+ interface ExpandedToolbarContentProps {
4
+ onClose?: () => void;
5
+ onHeaderMouseDown?: (event: ReactMouseEvent) => void;
6
+ defaultActiveTab: TabId;
7
+ onOpenAuthModal?: () => void;
8
+ }
9
+ export declare const ExpandedToolbarContent: import("react").ForwardRefExoticComponent<ExpandedToolbarContentProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const container: string;
2
+ export declare const content: string;
@@ -0,0 +1,37 @@
1
+ import { NormalizedFlag } from './types';
2
+ interface BooleanFlagControlProps {
3
+ flag: NormalizedFlag;
4
+ onOverride: (value: boolean) => void;
5
+ disabled?: boolean;
6
+ }
7
+ export declare const BooleanFlagControl: import("react").NamedExoticComponent<BooleanFlagControlProps>;
8
+ interface MultivariateFlagControlProps {
9
+ flag: NormalizedFlag;
10
+ onOverride: (value: any) => void;
11
+ disabled?: boolean;
12
+ }
13
+ export declare const MultivariateFlagControl: import("react").NamedExoticComponent<MultivariateFlagControlProps>;
14
+ interface StringNumberFlagControlProps {
15
+ flag: NormalizedFlag;
16
+ onOverride: (value: string | number) => void;
17
+ disabled?: boolean;
18
+ }
19
+ export declare const StringNumberFlagControl: import("react").NamedExoticComponent<StringNumberFlagControlProps>;
20
+ interface ObjectFlagControlButtonsProps {
21
+ isEditing: boolean;
22
+ onEditStart: () => void;
23
+ onConfirm: () => void;
24
+ onCancel: () => void;
25
+ hasErrors: boolean;
26
+ }
27
+ export declare const ObjectFlagControlButtons: import("react").NamedExoticComponent<ObjectFlagControlButtonsProps>;
28
+ interface ObjectFlagEditorProps {
29
+ flag: NormalizedFlag;
30
+ isEditing: boolean;
31
+ tempValue: string;
32
+ onValueChange: (value: string) => void;
33
+ onLintErrors: (hasErrors: boolean) => void;
34
+ handleHeightChange: (height: number) => void;
35
+ }
36
+ export declare const ObjectFlagEditor: import("react").NamedExoticComponent<ObjectFlagEditorProps>;
37
+ export {};
@@ -0,0 +1,9 @@
1
+ export declare const switchContainer: string;
2
+ export declare const switchControl: string;
3
+ export declare const select: string;
4
+ export declare const customVariantContainer: string;
5
+ export declare const currentValueGroup: string;
6
+ export declare const currentValueText: string;
7
+ export declare const customVariantField: string;
8
+ export declare const customVariantFieldGroup: string;
9
+ export declare const jsonEditorActions: string;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { NormalizedFlag } from './types';
3
+ interface FlagItemProps {
4
+ flag: NormalizedFlag;
5
+ onOverride: (value: any) => void;
6
+ onClearOverride?: () => void;
7
+ handleHeightChange: (index: number, height: number) => void;
8
+ disabled?: boolean;
9
+ index: number;
10
+ }
11
+ export declare const FlagItem: React.NamedExoticComponent<FlagItemProps>;
12
+ export {};
@@ -0,0 +1,18 @@
1
+ export declare const container: string;
2
+ export declare const containerOverridden: string;
3
+ export declare const containerBlock: string;
4
+ export declare const containerBlockOverridden: string;
5
+ export declare const header: string;
6
+ export declare const flagInfo: string;
7
+ export declare const info: string;
8
+ export declare const nameRow: string;
9
+ export declare const name: string;
10
+ export declare const nameLink: string;
11
+ export declare const nameLinkText: string;
12
+ export declare const externalLinkIcon: string;
13
+ export declare const overrideDot: string;
14
+ export declare const overrideDotInner: string;
15
+ export declare const control: string;
16
+ export declare const readOnlyValue: string;
17
+ export declare const objectLabel: string;
18
+ export declare const objectValue: string;
@@ -0,0 +1 @@
1
+ export declare const FlagList: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const container: string;
2
+ export declare const statsHeader: string;
3
+ export declare const statsText: string;
4
+ export declare const scrollContainer: string;
5
+ export declare const virtualInner: string;
@@ -0,0 +1 @@
1
+ export declare const FlagListContent: import("react").NamedExoticComponent<object>;
@@ -0,0 +1,9 @@
1
+ import { ApiVariation } from '../../../types/ldApi';
2
+ export interface NormalizedFlag {
3
+ key: string;
4
+ name: string;
5
+ isOverridden: boolean;
6
+ type: 'boolean' | 'multivariate' | 'string' | 'number' | 'object';
7
+ currentValue: any;
8
+ availableVariations: ApiVariation[];
9
+ }
@@ -0,0 +1,11 @@
1
+ import { SubTab } from '../types';
2
+ interface FilterOverlayContentProps {
3
+ subtab: SubTab;
4
+ onClose: () => void;
5
+ }
6
+ declare const FilterOverlayContent: import("react").NamedExoticComponent<FilterOverlayContentProps>;
7
+ export interface FilterButtonProps {
8
+ className?: string;
9
+ }
10
+ export declare function FilterButton({ className }: FilterButtonProps): import("react/jsx-runtime").JSX.Element | null;
11
+ export { FilterOverlayContent };
@@ -0,0 +1,17 @@
1
+ export declare const overlay: string;
2
+ export declare const overlayFlags: string;
3
+ export declare const header: string;
4
+ export declare const title: string;
5
+ export declare const resetButton: string;
6
+ export declare const content: string;
7
+ export declare const filterOption: string;
8
+ export declare const filterOptionActive: string;
9
+ export declare const checkbox: string;
10
+ export declare const checkboxChecked: string;
11
+ export declare const checkmark: string;
12
+ export declare const filterLabel: string;
13
+ export declare const filterName: string;
14
+ export declare const filterDescription: string;
15
+ export declare const backdrop: string;
16
+ export declare const container: string;
17
+ export declare const filterCount: string;
@@ -0,0 +1 @@
1
+ export { FilterButton, FilterOverlayContent } from './FilterOverlay';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface ToolbarHeaderProps {
3
+ onClose?: () => void;
4
+ onHeaderMouseDown?: (event: React.MouseEvent) => void;
5
+ }
6
+ export declare function ToolbarHeader({ onClose, onHeaderMouseDown }: ToolbarHeaderProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare const header: string;
2
+ export declare const leftSection: string;
3
+ export declare const logo: string;
4
+ export declare const title: string;
5
+ export declare const rightSection: string;
6
+ export declare const iconButton: string;
@@ -0,0 +1,6 @@
1
+ import { TabId } from '../../../types/toolbar';
2
+ interface IconBarProps {
3
+ defaultActiveTab: TabId;
4
+ }
5
+ export declare function IconBar({ defaultActiveTab }: IconBarProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare const container: string;
2
+ export declare const iconButton: string;
3
+ export declare const active: string;
4
+ export declare const disabled: string;
5
+ export declare const icon: string;
6
+ export declare const selectMode: string;
@@ -0,0 +1 @@
1
+ export declare function InteractiveContent(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const container: string;
2
+ export declare const emptyState: string;
3
+ export declare const message: string;
4
+ export declare const inlineIcon: string;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface InteractiveWrapperProps {
3
+ children: React.ReactNode;
4
+ }
5
+ /**
6
+ * Wrapper component that provides element selection context
7
+ * and connects it to the toolbar state
8
+ */
9
+ export declare function InteractiveWrapper({ children }: InteractiveWrapperProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface MCPSetupAlertProps {
2
+ /** Called when the alert is dismissed */
3
+ onDismiss?: () => void;
4
+ }
5
+ /**
6
+ * A compact alert prompting users to set up the LaunchDarkly MCP server.
7
+ * Shows only if user hasn't dismissed it via "Done!" button.
8
+ * Provides links to documentation and a one-click install button for Cursor users.
9
+ */
10
+ export declare function MCPSetupAlert({ onDismiss }: MCPSetupAlertProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,12 @@
1
+ export declare const alertContainer: string;
2
+ export declare const alertContentWithIcon: string;
3
+ export declare const infoIcon: string;
4
+ export declare const alertContent: string;
5
+ export declare const textContent: string;
6
+ export declare const title: string;
7
+ export declare const description: string;
8
+ export declare const actions: string;
9
+ export declare const actionButton: string;
10
+ export declare const primaryButton: string;
11
+ export declare const doneButton: string;
12
+ export declare const cursorIcon: string;
@@ -0,0 +1 @@
1
+ export declare function SelectedElementInfo(): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,21 @@
1
+ export declare const container: string;
2
+ export declare const elementDetails: string;
3
+ export declare const detailsHeader: string;
4
+ export declare const primaryIdentifier: string;
5
+ export declare const chevron: string;
6
+ export declare const chevronExpanded: string;
7
+ export declare const detailsContent: string;
8
+ export declare const detailRow: string;
9
+ export declare const label: string;
10
+ export declare const value: string;
11
+ export declare const classesList: string;
12
+ export declare const classTag: string;
13
+ export declare const attributesList: string;
14
+ export declare const attributeRow: string;
15
+ export declare const attributeName: string;
16
+ export declare const attributeValue: string;
17
+ export declare const textPreview: string;
18
+ export declare const dimensionsRow: string;
19
+ export declare const dimValue: string;
20
+ export declare const workflowsContainer: string;
21
+ export declare const title: string;
@@ -0,0 +1 @@
1
+ export declare function SelectionModeBar(): import("react").ReactPortal | null;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function SelectionOverlay(): React.ReactPortal | null;
@@ -0,0 +1,13 @@
1
+ import { type WorkflowType } from './workflowConfigs';
2
+ /**
3
+ * Props for the WorkflowCard component.
4
+ * A workflow card allows users to generate AI prompts for common development tasks
5
+ * like wrapping elements in feature flags or adding click tracking.
6
+ */
7
+ export interface WorkflowCardProps {
8
+ /** The type of workflow this card represents */
9
+ workflow: WorkflowType;
10
+ /** Whether the workflow card is disabled (shows "Coming Soon" badge) */
11
+ disabled?: boolean;
12
+ }
13
+ export declare function WorkflowCard({ workflow, disabled }: WorkflowCardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
1
+ export declare const card: string;
2
+ export declare const cardHeader: string;
3
+ export declare const iconContainer: string;
4
+ export declare const cardContent: string;
5
+ export declare const title: string;
6
+ export declare const description: string;
7
+ export declare const comingSoonBadge: string;
8
+ export declare const inputGroup: string;
9
+ export declare const inputLabel: string;
10
+ export declare const input: string;
11
+ export declare const actions: string;
12
+ export declare const actionsDisabled: string;
13
+ export declare const actionButton: string;
14
+ export declare const actionIcon: string;
15
+ export declare const ideIconWrapper: string;
16
+ export declare const ideIconSvg: string;
17
+ export declare const splitButtonContainer: string;
18
+ export declare const splitButtonGroup: string;
19
+ export declare const splitButtonMain: string;
20
+ export declare const splitButtonDropdown: string;
21
+ export declare const splitButtonDropdownOpen: string;
22
+ export declare const splitButtonDropdownSuccess: string;
23
+ export declare const dropdownMenu: string;
24
+ export declare const dropdownItem: string;
25
+ export declare const dropdownItemSelected: string;
26
+ export declare const dropdownSeparator: string;
27
+ export declare const preferredBadge: string;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface WorkflowSectionProps {
3
+ title: string;
4
+ children: React.ReactNode;
5
+ }
6
+ export declare function WorkflowSection({ title, children }: WorkflowSectionProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const section: string;
2
+ export declare const header: string;
3
+ export declare const icon: string;
4
+ export declare const title: string;
5
+ export declare const cards: string;
@@ -0,0 +1,9 @@
1
+ export { InteractiveContent } from './InteractiveContent';
2
+ export { SelectionOverlay } from './SelectionOverlay';
3
+ export { SelectionModeBar } from './SelectionModeBar';
4
+ export { SelectedElementInfo } from './SelectedElementInfo';
5
+ export { InteractiveWrapper } from './InteractiveWrapper';
6
+ export { WorkflowCard } from './WorkflowCard';
7
+ export { WorkflowSection } from './WorkflowSection';
8
+ export { MCPSetupAlert } from './MCPSetupAlert';
9
+ export { type WorkflowType } from './workflowConfigs';
@@ -0,0 +1,56 @@
1
+ export interface ElementAttribute {
2
+ name: string;
3
+ value: string;
4
+ }
5
+ export interface ElementInfo {
6
+ tagName: string;
7
+ id: string | null;
8
+ classes: string[];
9
+ textContent: string | null;
10
+ selector: string;
11
+ primaryIdentifier: string;
12
+ dataAttributes: ElementAttribute[];
13
+ htmlAttributes: ElementAttribute[];
14
+ dimensions: {
15
+ width: number;
16
+ height: number;
17
+ };
18
+ }
19
+ /**
20
+ * Checks if an element is part of the LaunchDarkly toolbar or selection UI.
21
+ * This is used to prevent selecting toolbar elements during element selection mode.
22
+ *
23
+ * @param element - The DOM element to check, or null
24
+ * @returns true if the element is part of the toolbar or selection UI, false otherwise
25
+ */
26
+ export declare function isToolbarElement(element: Element | null): boolean;
27
+ /**
28
+ * Generates a CSS selector path for an element.
29
+ * Creates a readable selector path up to 4 levels deep, prioritizing IDs for uniqueness.
30
+ *
31
+ * @param element - The DOM element to generate a selector for
32
+ * @returns A CSS selector string (e.g., "div#container > button.submit-btn:nth-of-type(2)")
33
+ */
34
+ export declare function getElementSelector(element: Element): string;
35
+ /**
36
+ * Gets a short display path for the element (for the hover tag).
37
+ * Returns a simplified identifier showing tag name, ID, or first few classes.
38
+ *
39
+ * @param element - The DOM element to get the display path for
40
+ * @returns A short identifier string (e.g., "button#submit" or "div.container.header")
41
+ */
42
+ export declare function getElementDisplayPath(element: Element): string;
43
+ /**
44
+ * Extracts all relevant information about an element
45
+ * @param element - The DOM element to extract information from
46
+ * @returns ElementInfo object containing element details
47
+ * @throws Error if element is null, undefined, or not an instance of Element
48
+ */
49
+ export declare function getElementInfo(element: Element): ElementInfo;
50
+ /**
51
+ * Gets the bounding rect of an element relative to the viewport
52
+ * @param element - The DOM element to get the bounding rect for
53
+ * @returns DOMRect object with element position and dimensions
54
+ * @throws Error if element is null, undefined, or not an instance of Element
55
+ */
56
+ export declare function getElementRect(element: Element): DOMRect;
@@ -0,0 +1,58 @@
1
+ import { PreferredIde } from '../../../../utils/localStorage';
2
+ export interface IdeConfig {
3
+ id: PreferredIde;
4
+ label: string;
5
+ icon: 'cursor' | 'windsurf' | 'vscode' | 'github-copilot';
6
+ }
7
+ export declare const IDE_CONFIGS: IdeConfig[];
8
+ /**
9
+ * Minify a prompt for URL encoding by removing unnecessary whitespace
10
+ * while preserving the actual content and readability.
11
+ * This can reduce URL length by 40-60%.
12
+ */
13
+ export declare function minifyPromptForUrl(prompt: string): string;
14
+ /**
15
+ * Open Cursor IDE with the prompt in composer
16
+ * Cursor uses cursor://anysphere.cursor-deeplink/prompt?text=<encoded_prompt>
17
+ * @returns true if the protocol handler was likely successful
18
+ */
19
+ export declare function openInCursor(prompt: string): boolean;
20
+ /**
21
+ * Open Windsurf IDE with the prompt
22
+ * Windsurf uses windsurf://cascade?prompt=<encoded_prompt>
23
+ * @returns true if the protocol handler was likely successful, false if blocked
24
+ */
25
+ export declare function openInWindsurf(prompt: string): boolean;
26
+ /**
27
+ * Open VS Code with the prompt
28
+ * VS Code doesn't have a direct prompt protocol, so we just open it
29
+ * and the user will need to paste the prompt
30
+ * @returns true if the protocol handler was likely successful, false if blocked
31
+ */
32
+ export declare function openInVSCode(_prompt: string): boolean;
33
+ /**
34
+ * Open GitHub Copilot with the prompt
35
+ * GitHub Copilot uses https://github.com/copilot/agents?prompt=<encoded_prompt>
36
+ * Uses minified prompt, and if still too long, the caller should provide a condensed version.
37
+ * @param prompt - The prompt to use (should be condensed if full prompt is too long)
38
+ * @returns true if the link was opened successfully
39
+ */
40
+ export declare function openInGitHubCopilot(prompt: string): boolean;
41
+ /**
42
+ * Get the URL length for a prompt (after minification and encoding)
43
+ * Useful for debugging URL length issues
44
+ */
45
+ export declare function getGitHubCopilotUrlLength(prompt: string): number;
46
+ /**
47
+ * Open the specified IDE with the prompt
48
+ * @returns true if the protocol handler was likely successful, false if blocked
49
+ */
50
+ export declare function openInIde(prompt: string, ide: PreferredIde): boolean;
51
+ /**
52
+ * Copy prompt to clipboard and open in the specified IDE
53
+ * @param prompt - Full prompt to copy to clipboard
54
+ * @param ide - The IDE to open
55
+ * @param urlPrompt - Optional condensed prompt for URL-based IDEs (GitHub Copilot). If not provided, uses full prompt.
56
+ * @returns true if both copy and IDE open were successful, false otherwise
57
+ */
58
+ export declare function copyAndOpenInIde(prompt: string, ide: PreferredIde, urlPrompt?: string): Promise<boolean>;
@@ -0,0 +1,26 @@
1
+ import { ElementInfo } from './elementUtils';
2
+ export interface FeatureFlagPromptOptions {
3
+ elementContext: string;
4
+ projectKey: string;
5
+ environmentKey?: string;
6
+ suggestedFlagKey?: string;
7
+ intent?: 'hide' | 'show' | 'replace' | 'experiment';
8
+ }
9
+ /**
10
+ * Builds context string from element info for AI prompts
11
+ */
12
+ export declare function buildElementContext(elementInfo: ElementInfo): string;
13
+ /**
14
+ * Builds a condensed prompt for URL-based delivery (under 8KB when encoded).
15
+ * Includes all essential steps but with less verbose examples.
16
+ */
17
+ export declare function buildCondensedFeatureFlagPrompt(options: FeatureFlagPromptOptions): string;
18
+ /**
19
+ * Builds a detailed prompt for an AI agent to wrap an element in a LaunchDarkly feature flag.
20
+ * This prompt is designed for agents with access to LaunchDarkly MCP tools.
21
+ */
22
+ export declare function buildFeatureFlagAgentPrompt(options: FeatureFlagPromptOptions): string;
23
+ /**
24
+ * Builds a prompt for adding click tracking to an element
25
+ */
26
+ export declare function buildClickTrackingPrompt(elementInfo: ElementInfo, eventName: string): string;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Throttles a function to execute at most once per specified delay.
3
+ * Ensures the function is called at regular intervals, useful for
4
+ * performance optimization of frequently triggered events like mousemove.
5
+ *
6
+ * @param func - The function to throttle
7
+ * @param delay - The delay in milliseconds between function calls
8
+ * @returns A throttled version of the function
9
+ */
10
+ export declare function throttle<T extends (...args: any[]) => any>(func: T, delay: number): (...args: Parameters<T>) => void;
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import type { ElementInfo } from './utils/elementUtils';
3
+ /**
4
+ * Available workflow types for the WorkflowCard component.
5
+ */
6
+ export type WorkflowType = 'featureFlag' | 'clickTracking';
7
+ /**
8
+ * Configuration for a single workflow type.
9
+ */
10
+ export interface WorkflowConfig {
11
+ /** Icon to display in the card header */
12
+ icon: React.ReactNode;
13
+ /** Title of the workflow card */
14
+ title: string;
15
+ /** Description text explaining what the workflow does */
16
+ description: string;
17
+ /** Label for the input field */
18
+ inputLabel: string;
19
+ /** Placeholder text for the input field */
20
+ inputPlaceholder: string;
21
+ /**
22
+ * Builds the AI prompt given element info, project key, and user input.
23
+ */
24
+ buildPrompt: (elementInfo: ElementInfo, projectKey: string, inputValue: string) => string;
25
+ /**
26
+ * Optional function that builds a condensed version of the prompt for URL-based IDEs
27
+ * (like GitHub Copilot) where URL length is limited.
28
+ */
29
+ buildCondensedPrompt?: (elementInfo: ElementInfo, projectKey: string, inputValue: string) => string;
30
+ }
31
+ /**
32
+ * Registry of all available workflow configurations.
33
+ * Each workflow knows how to build its own prompts using element context.
34
+ */
35
+ export declare const WORKFLOW_CONFIGS: Record<WorkflowType, WorkflowConfig>;
36
+ export declare function getWorkflowConfig(type: WorkflowType): WorkflowConfig;
@@ -0,0 +1 @@
1
+ export declare function EventsContent(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ export declare const container: string;
2
+ export declare const statsHeader: string;
3
+ export declare const statsText: string;
4
+ export declare const eventInfo: string;
5
+ export declare const eventName: string;
6
+ export declare const eventMeta: string;
7
+ export declare const eventBadge: string;
8
+ export declare const eventBadgeFeature: string;
9
+ export declare const addButtonContainer: string;
10
+ export declare const addButton: string;
11
+ export declare const eventBadgeIdentify: string;
12
+ export declare const eventBadgeCustom: string;
13
+ export declare const eventBadgeDebug: string;
14
+ export declare const eventBadgeSummary: string;
15
+ export declare const eventBadgeDiagnostic: string;
16
+ export declare const eventBadgeDefault: string;
17
+ export declare const virtualContainer: string;
18
+ export declare const virtualInner: string;
19
+ export declare const virtualItem: string;
20
+ export declare const liveTailContainer: string;
21
+ export declare const liveTailIndicator: string;
22
+ export declare const liveTailDot: string;
23
+ export declare const liveTailText: string;
24
+ export declare const liveTailSubtext: string;
25
+ export declare const eventListItem: string;
@@ -0,0 +1,8 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ interface SearchSectionProps {
3
+ searchTerm: string;
4
+ onSearch: (searchTerm: string) => void;
5
+ setSearchIsExpanded: Dispatch<SetStateAction<boolean>>;
6
+ }
7
+ export declare function SearchSection(props: SearchSectionProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};