@uniformdev/context-ui 14.2.1-alpha.249 → 16.0.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.
package/LICENSE.txt ADDED
@@ -0,0 +1,2 @@
1
+ © 2022 Uniform Systems, Inc. All Rights Reserved.
2
+ See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
package/dist/index.d.ts CHANGED
@@ -1,29 +1,15 @@
1
- import * as React from 'react';
2
- import React__default, { ReactNode, ReactElement, SVGProps } from 'react';
1
+ import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
2
+ import React, { ReactElement, ComponentType } from 'react';
3
3
  import { DimensionDefinition, ManifestGetResponse } from '@uniformdev/context/api';
4
- import { EnrichmentData, VariantMatchCriteria } from '@uniformdev/context';
5
- import { ButtonProps as ButtonProps$1, InputProps as InputProps$1 } from 'reakit';
6
- import { GroupBase } from 'react-select';
7
- import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
8
- import InternalSelect from 'react-select/dist/declarations/src/Select';
9
-
10
- declare type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
11
- interface CalloutProps {
12
- type: CalloutType;
13
- title?: ReactNode;
14
- children: ReactNode;
15
- className?: string;
16
- }
17
- declare const Callout: React__default.FC<CalloutProps>;
18
-
19
- declare const LoadingIndicator: () => JSX.Element;
4
+ import { EnrichmentData, DimensionMatch, VariantMatchCriteria } from '@uniformdev/context';
5
+ export * from '@uniformdev/design-system';
20
6
 
21
7
  declare type EditLinkProps = {
22
8
  linkTo: string;
23
9
  name?: string;
24
10
  linkText?: string;
25
11
  };
26
- declare const EditLink: ({ linkTo, name, linkText }: EditLinkProps) => JSX.Element;
12
+ declare const EditLink: ({ linkTo, name, linkText }: EditLinkProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
27
13
 
28
14
  interface ContextConfig {
29
15
  projectId?: string;
@@ -43,139 +29,26 @@ interface EnrichmentTagProps {
43
29
  setValue: (value: EnrichmentData[] | null) => void;
44
30
  contextConfig: ContextConfig;
45
31
  }
46
- declare const EnrichmentTag: React__default.FC<EnrichmentTagProps>;
32
+ declare const EnrichmentTag: React.FC<EnrichmentTagProps>;
47
33
 
34
+ declare const equality: Array<{
35
+ name: string;
36
+ value: DimensionMatch['op'];
37
+ }>;
48
38
  interface PersonalizationCriteriaProps {
49
39
  value: VariantMatchCriteria | null | undefined;
50
40
  setValue: (value: VariantMatchCriteria | null) => void;
51
41
  contextConfig: ContextConfig;
52
42
  }
53
- declare const PersonalizationCriteria: React__default.FC<PersonalizationCriteriaProps>;
54
-
55
- interface ButtonProps extends ButtonProps$1 {
56
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
57
- buttonType?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'unimportant';
58
- disablePadding?: boolean;
59
- rounded?: boolean;
60
- }
61
- declare const Button: React__default.FC<ButtonProps>;
62
-
63
- declare type InputProps = InputProps$1 & {
64
- label?: string;
65
- classNameContainer?: string;
66
- classNameControl?: string;
67
- classNameLabel?: string;
68
- icon?: React__default.ReactElement;
69
- capture?: boolean | 'user' | 'environment';
70
- };
71
- declare const Input: React__default.FC<InputProps>;
72
-
73
- declare type SelectInputProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
74
- defaultOption?: string;
75
- options: Array<React.OptionHTMLAttributes<HTMLOptionElement> & {
76
- label: string;
77
- }>;
78
- caption?: string;
79
- label: string;
80
- showLabel?: boolean;
81
- classNameContainer?: string;
82
- classNameControl?: string;
83
- classNameLabel?: string;
84
- };
85
- declare const SelectInput: ({ label, defaultOption, options, caption, classNameContainer, classNameControl, classNameLabel, showLabel, ...props }: SelectInputProps) => JSX.Element;
86
-
87
- declare type ComboBoxOption = {
88
- label: string;
89
- value: string;
90
- isDisabled?: boolean;
91
- };
92
- declare type ComboBoxProps<TOption, IsMulti extends boolean, TGroup extends GroupBase<TOption> = GroupBase<TOption>> = StateManagerProps<TOption, IsMulti, TGroup> & React.RefAttributes<InternalSelect<TOption, IsMulti, TGroup>>;
93
- declare type ComboBoxGroupBase<TOption> = GroupBase<TOption>;
94
- declare function ComboBox<TOption = ComboBoxOption, IsMulti extends boolean = false, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>(props: ComboBoxProps<TOption, IsMulti, TGroup>): JSX.Element;
95
-
96
- declare type InlineSelectInputOption = {
97
- label: string;
98
- value: string;
99
- };
100
- declare type InlineSelectInputProps = Omit<React.HTMLAttributes<HTMLButtonElement>, 'onChange'> & {
101
- disabled?: boolean;
102
- value: string;
103
- options: Array<InlineSelectInputOption>;
104
- onChange: (option: InlineSelectInputOption) => void;
105
- classNameContainer?: string;
106
- };
107
- declare const InlineSelectInput: ({ classNameContainer, disabled, options, value, onChange, ...props }: InlineSelectInputProps) => JSX.Element;
108
-
109
- interface LoadingOverlayProps {
110
- isActive: boolean;
111
- statusMessage?: string | JSX.Element;
112
- }
113
- declare const LoadingOverlay: React__default.FC<LoadingOverlayProps>;
114
- interface LoadingIconProps {
115
- width?: number;
116
- height?: number;
117
- }
118
- declare const LoadingIcon: React__default.FC<LoadingIconProps>;
119
-
120
- declare type ComponentIconNames = 'add-r' | 'add' | 'airplane' | 'alarm' | 'album' | 'align-bottom' | 'align-center' | 'align-left' | 'align-middle' | 'align-right' | 'align-top' | 'anchor' | 'apple-watch' | 'arrange-back' | 'arrange-front' | 'arrow-align-h' | 'arrow-align-v' | 'arrow-bottom-left-o' | 'arrow-bottom-left-r' | 'arrow-bottom-left' | 'arrow-bottom-right-o' | 'arrow-bottom-right-r' | 'arrow-bottom-right' | 'arrow-down-o' | 'arrow-down-r' | 'arrow-down' | 'arrow-left-o' | 'arrow-left-r' | 'arrow-left' | 'arrow-long-down-c' | 'arrow-long-down-e' | 'arrow-long-down-l' | 'arrow-long-down-r' | 'arrow-long-down' | 'arrow-long-left-c' | 'arrow-long-left-e' | 'arrow-long-left-l' | 'arrow-long-left-r' | 'arrow-long-left' | 'arrow-long-right-c' | 'arrow-long-right-e' | 'arrow-long-right-l' | 'arrow-long-right-r' | 'arrow-long-right' | 'arrow-long-up-c' | 'arrow-long-up-e' | 'arrow-long-up-l' | 'arrow-long-up-r' | 'arrow-long-up' | 'arrow-right-o' | 'arrow-right-r' | 'arrow-right' | 'arrow-top-left-o' | 'arrow-top-left-r' | 'arrow-top-left' | 'arrow-top-right-o' | 'arrow-top-right-r' | 'arrow-top-right' | 'arrow-up-o' | 'arrow-up-r' | 'arrow-up' | 'arrows-breake-h' | 'arrows-breake-v' | 'arrows-exchange-alt-v' | 'arrows-exchange-alt' | 'arrows-exchange-v' | 'arrows-exchange' | 'arrows-expand-down-left' | 'arrows-expand-down-right' | 'arrows-expand-left-alt' | 'arrows-expand-left' | 'arrows-expand-right-alt' | 'arrows-expand-right' | 'arrows-expand-up-left' | 'arrows-expand-up-right' | 'arrows-h-alt' | 'arrows-h' | 'arrows-merge-alt-h' | 'arrows-merge-alt-v' | 'arrows-scroll-h' | 'arrows-scroll-v' | 'arrows-shrink-h' | 'arrows-shrink-v' | 'arrows-v-alt' | 'arrows-v' | 'assign' | 'asterisk' | 'attachment' | 'attribution' | 'awards' | 'backspace' | 'band-aid' | 'battery-empty' | 'battery-full' | 'battery' | 'bee' | 'bell' | 'bitbucket' | 'block' | 'board' | 'bolt' | 'bookmark' | 'border-all' | 'border-bottom' | 'border-left' | 'border-right' | 'border-style-dashed' | 'border-style-dotted' | 'border-style-solid' | 'border-top' | 'bot' | 'bowl' | 'box' | 'boy' | 'briefcase' | 'browse' | 'browser' | 'brush' | 'bulb' | 'c-plus-plus' | 'calculator' | 'calendar-dates' | 'calendar-due' | 'calendar-next' | 'calendar-today' | 'calendar-two' | 'calendar' | 'calibrate' | 'camera' | 'cap' | 'captions' | 'card-clubs' | 'card-diamonds' | 'card-hearts' | 'card-spades' | 'carousel' | 'cast' | 'chart' | 'check-o' | 'check-r' | 'check' | 'chevron-double-down-o' | 'chevron-double-down-r' | 'chevron-double-down' | 'chevron-double-left-o' | 'chevron-double-left-r' | 'chevron-double-left' | 'chevron-double-right-o' | 'chevron-double-right-r' | 'chevron-double-right' | 'chevron-double-up-o' | 'chevron-double-up-r' | 'chevron-double-up' | 'chevron-down-o' | 'chevron-down-r' | 'chevron-down' | 'chevron-left-o' | 'chevron-left-r' | 'chevron-left' | 'chevron-right-o' | 'chevron-right-r' | 'chevron-right' | 'chevron-up-o' | 'chevron-up-r' | 'chevron-up' | 'clapper-board' | 'clipboard' | 'close-o' | 'close-r' | 'close' | 'cloud' | 'code-slash' | 'code' | 'coffee' | 'collage' | 'color-bucket' | 'color-picker' | 'comment' | 'community' | 'components' | 'compress-left' | 'compress-right' | 'compress-v' | 'compress' | 'controller' | 'copy' | 'copyright' | 'corner-double-down-left' | 'corner-double-down-right' | 'corner-double-left-down' | 'corner-double-left-up' | 'corner-double-right-down' | 'corner-double-right-up' | 'corner-double-up-left' | 'corner-double-up-right' | 'corner-down-left' | 'corner-down-right' | 'corner-left-down' | 'corner-left-up' | 'corner-right-down' | 'corner-right-up' | 'corner-up-left' | 'corner-up-right' | 'credit-card' | 'crop' | 'cross' | 'crown' | 'danger' | 'dark-mode' | 'data' | 'database' | 'debug' | 'desktop' | 'details-less' | 'details-more' | 'dialpad' | 'dice-1' | 'dice-2' | 'dice-3' | 'dice-4' | 'dice-5' | 'dice-6' | 'disc' | 'display-flex' | 'display-fullwidth' | 'display-grid' | 'display-spacing' | 'distribute-horizontal' | 'distribute-vertical' | 'dock-bottom' | 'dock-left' | 'dock-right' | 'dock-window' | 'dollar' | 'drive' | 'drop-invert' | 'drop-opacity' | 'drop' | 'duplicate' | 'edit-black-point' | 'edit-contrast' | 'edit-exposure' | 'edit-fade' | 'edit-flip-h' | 'edit-flip-v' | 'edit-highlight' | 'edit-markup' | 'edit-mask' | 'edit-noise' | 'edit-shadows' | 'edit-straight' | 'edit-unmask' | 'eject' | 'enter' | 'erase' | 'ereader' | 'ericsson' | 'ethernet' | 'euro' | 'expand' | 'export' | 'extension-add' | 'extension-alt' | 'extension-remove' | 'extension' | 'external' | 'eye-alt' | 'eye' | 'feed' | 'file-add' | 'file-document' | 'file-remove' | 'file' | 'film' | 'filters' | 'flag-alt' | 'flag' | 'folder-add' | 'folder-remove' | 'folder' | 'font-height' | 'font-spacing' | 'format-bold' | 'format-center' | 'format-color' | 'format-heading' | 'format-indent-decrease' | 'format-indent-increase' | 'format-italic' | 'format-justify' | 'format-left' | 'format-line-height' | 'format-right' | 'format-separator' | 'format-slash' | 'format-strike' | 'format-text' | 'format-underline' | 'format-uppercase' | 'games' | 'gender-female' | 'gender-male' | 'ghost-character' | 'gift' | 'girl' | 'git-branch' | 'git-commit' | 'git-fork' | 'git-pull' | 'glass-alt' | 'glass' | 'globe-alt' | 'globe' | 'gym' | 'hashtag' | 'headset' | 'heart' | 'home-alt' | 'home-screen' | 'home' | 'icecream' | 'image' | 'import' | 'inbox' | 'infinity' | 'info' | 'inpicture' | 'insert-after-o' | 'insert-after-r' | 'insert-after' | 'insert-before-o' | 'insert-before-r' | 'insert-before' | 'insights' | 'internal' | 'key' | 'keyboard' | 'keyhole' | 'laptop' | 'layout-grid-small' | 'layout-grid' | 'layout-list' | 'layout-pin' | 'link' | 'list-tree' | 'list' | 'live-photo' | 'loadbar-alt' | 'loadbar-doc' | 'loadbar-sound' | 'loadbar' | 'lock-unlock' | 'lock' | 'log-in' | 'log-off' | 'log-out' | 'loupe' | 'magnet' | 'mail-forward' | 'mail-open' | 'mail-reply' | 'mail' | 'math-divide' | 'math-equal' | 'math-minus' | 'math-percent' | 'math-plus' | 'maximize-alt' | 'maximize' | 'media-live' | 'media-podcast' | 'menu-boxed' | 'menu-cake' | 'menu-cheese' | 'menu-grid-o' | 'menu-grid-r' | 'menu-hotdog' | 'menu-left-alt' | 'menu-left' | 'menu-motion' | 'menu-oreos' | 'menu-right-alt' | 'menu-right' | 'menu-round' | 'menu' | 'merge-horizontal' | 'merge-vertical' | 'mic' | 'mini-player' | 'minimize-alt' | 'minimize' | 'modem' | 'moon' | 'more-alt' | 'more-o' | 'more-r' | 'more-vertical-alt' | 'more-vertical-o' | 'more-vertical-r' | 'more-vertical' | 'more' | 'mouse' | 'move-down' | 'move-left' | 'move-right' | 'move-task' | 'move-up' | 'music-note' | 'music-speaker' | 'music' | 'nametag' | 'notes' | 'notifications' | 'options' | 'organisation' | 'password' | 'path-back' | 'path-crop' | 'path-divide' | 'path-exclude' | 'path-front' | 'path-intersect' | 'path-outline' | 'path-trim' | 'path-unite' | 'pen' | 'pentagon-bottom-left' | 'pentagon-bottom-right' | 'pentagon-down' | 'pentagon-left' | 'pentagon-right' | 'pentagon-top-left' | 'pentagon-top-right' | 'pentagon-up' | 'performance' | 'phone' | 'photoscan' | 'piano' | 'pill' | 'pin-alt' | 'pin-bottom' | 'pin-top' | 'pin' | 'play-backwards' | 'play-button-o' | 'play-button-r' | 'play-button' | 'play-forwards' | 'play-list-add' | 'play-list-check' | 'play-list-remove' | 'play-list-search' | 'play-list' | 'play-pause-o' | 'play-pause-r' | 'play-pause' | 'play-stop-o' | 'play-stop-r' | 'play-stop' | 'play-track-next-o' | 'play-track-next-r' | 'play-track-next' | 'play-track-prev-o' | 'play-track-prev-r' | 'play-track-prev' | 'plug' | 'polaroid' | 'poll' | 'presentation' | 'printer' | 'profile' | 'pull-clear' | 'push-chevron-down-o' | 'push-chevron-down-r' | 'push-chevron-down' | 'push-chevron-left-o' | 'push-chevron-left-r' | 'push-chevron-left' | 'push-chevron-right-o' | 'push-chevron-right-r' | 'push-chevron-right' | 'push-chevron-up-o' | 'push-chevron-up-r' | 'push-chevron-up' | 'push-down' | 'push-left' | 'push-right' | 'push-up' | 'qr' | 'quote-o' | 'quote' | 'radio-check' | 'radio-checked' | 'ratio' | 'read' | 'readme' | 'record' | 'redo' | 'remote' | 'remove-r' | 'remove' | 'rename' | 'reorder' | 'repeat' | 'ring' | 'row-first' | 'row-last' | 'ruler' | 'sand-clock' | 'scan' | 'screen-mirror' | 'screen-shot' | 'screen-wide' | 'screen' | 'scroll-h' | 'scroll-v' | 'search-found' | 'search-loading' | 'search' | 'select-o' | 'select-r' | 'select' | 'server' | 'shape-circle' | 'shape-half-circle' | 'shape-hexagon' | 'shape-rhombus' | 'shape-square' | 'shape-triangle' | 'shape-zigzag' | 'share' | 'shield' | 'shopping-bag' | 'shopping-cart' | 'shortcut' | 'sidebar-open' | 'sidebar-right' | 'sidebar' | 'signal' | 'size' | 'sleep' | 'smart-home-boiler' | 'smart-home-cooker' | 'smart-home-heat' | 'smart-home-light' | 'smart-home-refrigerator' | 'smart-home-wash-machine' | 'smartphone-chip' | 'smartphone-ram' | 'smartphone-shake' | 'smartphone' | 'smile-mouth-open' | 'smile-neutral' | 'smile-no-mouth' | 'smile-none' | 'smile-sad' | 'smile-upside' | 'smile' | 'software-download' | 'software-upload' | 'sort-az' | 'sort-za' | 'space-between-v' | 'space-between' | 'spinner-alt' | 'spinner-two-alt' | 'spinner-two' | 'spinner' | 'stack' | 'stopwatch' | 'stories' | 'style' | 'sun' | 'support' | 'swap-vertical' | 'swap' | 'sweden' | 'swiss' | 'sync' | 'tab' | 'tag' | 'tap-double' | 'tap-single' | 'template' | 'tennis' | 'terminal' | 'terrain' | 'thermometer' | 'thermostat' | 'tikcode' | 'time' | 'timelapse' | 'timer' | 'today' | 'toggle-off' | 'toggle-on' | 'toggle-square-off' | 'toggle-square' | 'toolbar-bottom' | 'toolbar-left' | 'toolbar-right' | 'toolbar-top' | 'toolbox' | 'touchpad' | 'track' | 'transcript' | 'trash-empty' | 'trash' | 'tree' | 'trees' | 'trending-down' | 'trending' | 'trophy' | 'tv' | 'ui-kit' | 'umbrella' | 'unavailable' | 'unblock' | 'undo' | 'unsplash' | 'usb-c' | 'usb' | 'user-add' | 'user-list' | 'user-remove' | 'user' | 'view-cols' | 'view-comfortable' | 'view-day' | 'view-grid' | 'view-list' | 'view-month' | 'view-split' | 'vinyl' | 'voicemail-o' | 'voicemail-r' | 'voicemail' | 'volume' | 'webcam' | 'website' | 'work-alt' | 'yinyang' | 'zoom-in' | 'zoom-out' | 'settings';
121
- interface IconProps {
122
- iconType: ComponentIconNames | null | undefined;
123
- iconColorClass?: string;
124
- onIconSelect?: (iconType: string) => void;
125
- }
126
- declare const Icon: React__default.NamedExoticComponent<IconProps>;
127
-
128
- declare function useIconContext(): {
129
- loading: boolean | null;
130
- };
131
- declare function IconsProvider({ children }: {
132
- children: ReactNode;
133
- }): JSX.Element;
43
+ declare const PersonalizationCriteria: React.FC<PersonalizationCriteriaProps>;
134
44
 
135
45
  declare type UIVersionProps = {
136
- versionMap: Record<number, React__default.ComponentType>;
137
- children?: React__default.ReactNode;
46
+ versionMap: Record<number, React.ComponentType>;
47
+ children?: React.ReactNode;
138
48
  contextConfig: ContextConfig;
139
49
  };
140
50
  declare function ProjectUIVersion({ children, versionMap, contextConfig }: UIVersionProps): ReactElement;
141
51
 
142
- declare const SvgCaution: (props: SVGProps<SVGSVGElement>) => JSX.Element;
143
-
144
- declare const SvgCheckmark: (props: SVGProps<SVGSVGElement>) => JSX.Element;
145
-
146
- declare const SvgDanger: (props: SVGProps<SVGSVGElement>) => JSX.Element;
147
-
148
- declare const SvgExclamationPoint: (props: SVGProps<SVGSVGElement>) => JSX.Element;
149
-
150
- declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => JSX.Element;
151
-
152
- declare const SvgLightbulb: (props: SVGProps<SVGSVGElement>) => JSX.Element;
153
-
154
- declare const SvgUniformBadge: (props: SVGProps<SVGSVGElement>) => JSX.Element;
155
-
156
- declare namespace index {
157
- export {
158
- SvgCaution as Caution,
159
- SvgCheckmark as Checkmark,
160
- SvgDanger as Danger,
161
- SvgExclamationPoint as ExclamationPoint,
162
- SvgInfo as Info,
163
- SvgLightbulb as Lightbulb,
164
- SvgUniformBadge as UniformBadge,
165
- };
166
- }
167
-
168
- declare const validateContextConfig: (ContextConfig?: ContextConfig | undefined) => Promise<{
169
- valid: boolean;
170
- error?: Error;
171
- }>;
172
-
173
- interface UseValidateContextConfigResult {
174
- validating: boolean;
175
- error?: Error;
176
- }
177
- declare const useValidateContextConfig: (ContextConfig?: ContextConfig | undefined) => UseValidateContextConfigResult;
178
-
179
52
  interface UseContextDataResult {
180
53
  result: ManifestGetResponse | null;
181
54
  error: string | null;
@@ -192,4 +65,35 @@ interface UseDimensionsResult {
192
65
  }
193
66
  declare function useDimensions({ apiHost, apiKey, projectId }: ContextConfig): UseDimensionsResult;
194
67
 
195
- export { Button, ButtonProps, Callout, CalloutProps, CalloutType, ComboBox, ComboBoxGroupBase, ComboBoxOption, ComboBoxProps, ComponentIconNames, ContextConfig, DimensionsData, EditLink, EditLinkProps, EnrichmentTag, EnrichmentTagProps, Icon, IconProps, index as Icons, IconsProvider, InlineSelectInput, InlineSelectInputOption, InlineSelectInputProps, Input, InputProps, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, PersonalizationCriteria, PersonalizationCriteriaProps, ProjectUIVersion, ResolvedDimensionDefinition, SelectInput, SelectInputProps, UseContextDataResult, UseDimensionsResult, UseValidateContextConfigResult, useContextData, useDimensions, useIconContext, useValidateContextConfig, validateContextConfig };
68
+ interface DataContextErrorProps {
69
+ contextConfig: ContextConfig;
70
+ result: UseContextDataResult | UseDimensionsResult;
71
+ }
72
+ interface ContextDataProps {
73
+ loadingComponent?: ComponentType;
74
+ errorComponent?: ComponentType<DataContextErrorProps>;
75
+ noIntentsComponent?: ComponentType<DataContextErrorProps>;
76
+ contextConfig: ContextConfig;
77
+ }
78
+ declare const ContextData: React.FC<ContextDataProps>;
79
+ declare function useContextConfig(): ContextConfig;
80
+ declare function useManifest(): ManifestGetResponse;
81
+ declare function useDimensionsDataContext(): DimensionsData;
82
+
83
+ declare const validateContextConfig: (contextConfig?: ContextConfig | undefined) => Promise<{
84
+ valid: boolean;
85
+ error?: Error;
86
+ result?: ManifestGetResponse;
87
+ }>;
88
+
89
+ interface UseValidateContextConfigResult {
90
+ validating: boolean;
91
+ error?: Error;
92
+ result?: ManifestGetResponse;
93
+ }
94
+ declare const useValidateContextConfig: (contextConfig?: ContextConfig | undefined) => UseValidateContextConfigResult;
95
+
96
+ declare function isEnrichmentTagData(obj: any): obj is EnrichmentData[];
97
+ declare function isPersonalizationCriteriaData(obj: any): obj is VariantMatchCriteria;
98
+
99
+ export { ContextConfig, ContextData, ContextDataProps, DataContextErrorProps, DimensionsData, EditLink, EditLinkProps, EnrichmentTag, EnrichmentTagProps, PersonalizationCriteria, PersonalizationCriteriaProps, ProjectUIVersion, ResolvedDimensionDefinition, UseContextDataResult, UseDimensionsResult, UseValidateContextConfigResult, equality, isEnrichmentTagData, isPersonalizationCriteriaData, useContextConfig, useContextData, useDimensions, useDimensionsDataContext, useManifest, useValidateContextConfig, validateContextConfig };