remoraid 2.14.7 → 2.18.43

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.
@@ -30,7 +30,7 @@ declare enum FooterVariant {
30
30
  Minimal = "minimal"
31
31
  }
32
32
  type PrimitiveUserExperience = string | number | boolean;
33
- type UserExperience = Record<string, any> | PrimitiveUserExperience | PrimitiveUserExperience[];
33
+ type UserExperience = Partial<Record<string, any>> | PrimitiveUserExperience | PrimitiveUserExperience[];
34
34
  interface CoreUserExperience {
35
35
  showWelcomeMessage: boolean;
36
36
  navbar: {
@@ -47,6 +47,22 @@ interface UserExperienceContext<T extends UserExperience> {
47
47
  processedCookie: boolean;
48
48
  initialUserExperience: T;
49
49
  }
50
+ interface WidgetContext {
51
+ name: string;
52
+ selected: boolean;
53
+ }
54
+ interface WidgetsContext {
55
+ widgets: Partial<Record<string, Partial<Record<string, WidgetContext>>>>;
56
+ activeWidget: string | null;
57
+ updateActiveWidget: (widgetId: string | null) => void;
58
+ registerWidget: (pageId: string, widget: WidgetConfiguration) => void;
59
+ registerPage: (pageId: string, initialWidgets: WidgetConfiguration[]) => void;
60
+ isWidgetRegistered: (pageId: string, widgetId: string) => boolean;
61
+ isPageRegistered: (pageId: string) => boolean;
62
+ updateWidgetSelection: (pageId: string, widgetId: string, value: boolean) => void;
63
+ updateWidgetSelectionBulk: (pageId: string, selectedWidgetIds: string[]) => void;
64
+ isWidgetSelected: (pageId: string, widgetId: string) => boolean;
65
+ }
50
66
  declare enum AlertCategory {
51
67
  Negative = "negative",
52
68
  Neutral = "neutral",
@@ -84,8 +100,7 @@ interface RemoraidThemeDependencies {
84
100
  type RemoraidThemeCallback = (dependencies: Partial<RemoraidThemeDependencies>) => Partial<RemoraidTheme>;
85
101
  interface WidgetConfiguration {
86
102
  widgetId: string;
87
- name: string;
88
- initialValue?: boolean;
103
+ initialValues?: Partial<WidgetContext>;
89
104
  allowUnregisteredPageUsage?: boolean;
90
105
  }
91
106
  interface PageConfiguration {
@@ -114,52 +129,29 @@ declare enum FrameLayoutSection {
114
129
  Right = "right",
115
130
  Content = "content"
116
131
  }
117
- type Layout<T extends LayoutType> = T extends LayoutType.Frame ? {
118
- sections: Record<Exclude<FrameLayoutSection, FrameLayoutSection.Content>, HTMLDivElement | null>
119
- } : never;
120
- interface LayoutsContext {
121
- layouts: Record<string, Layout<LayoutType>>;
122
- setLayouts: Dispatch<SetStateAction<Record<string, Layout<LayoutType>>>>;
132
+ type LayoutSection<T extends LayoutType> = T extends LayoutType.Frame ? FrameLayoutSection : string;
133
+ interface LayoutContext<T extends LayoutType> {
134
+ type: T;
135
+ layoutId: string;
136
+ sections: Record<LayoutSection<T>, HTMLDivElement | null>;
123
137
  }
124
- type FrameLayoutContext = {
125
- layoutId: string | null
126
- layout: Layout<LayoutType.Frame>
127
- setLayout: Dispatch<SetStateAction<Layout<LayoutType.Frame>>>
128
- };
129
- declare enum FrameLayoutVariant {
130
- Plain = "plain",
131
- Sticky = "sticky"
138
+ interface LayoutsContext {
139
+ layouts: Partial<Record<string, Omit<LayoutContext<LayoutType>, "layoutId">>>;
140
+ setLayouts: Dispatch<SetStateAction<Partial<Record<string, Omit<LayoutContext<LayoutType>, "layoutId">>>>>;
132
141
  }
133
142
  interface ContextCluster<
134
143
  Context,
135
144
  StaticID extends string = never
136
145
  > {
137
- contexts: Record<string, React2.Context<Context>>;
138
- defaultValues: Record<string, Context>;
146
+ contexts: Partial<Record<string, React2.Context<Context>>>;
147
+ defaultValues: Partial<Record<string, Context>>;
139
148
  generalDefaultValue: Context;
140
149
  createContext: (id: string, defaultValue?: Context) => React2.Context<Context>;
141
150
  useContext: <ID extends string>(id: ID) => ID extends StaticID ? Context : Context | null;
142
151
  }
143
- interface WidgetsContext {
144
- widgets: {
145
- [index: string]: {
146
- [index: string]: {
147
- name: string
148
- selected: boolean
149
- }
150
- }
151
- };
152
- activeWidget: string | null;
153
- updateActiveWidget: (widgetId: string | null) => void;
154
- registerWidget: (pageId: string, widget: WidgetConfiguration) => void;
155
- registerPage: (pageId: string, initialWidgets: WidgetConfiguration[]) => void;
156
- isWidgetRegistered: (pageId: string, widgetId: string) => boolean;
157
- isPageRegistered: (pageId: string) => boolean;
158
- updateWidgetSelection: (pageId: string, widgetId: string, value: boolean) => void;
159
- updateWidgetSelectionBulk: (pageId: string, selectedWidgetIds: string[]) => void;
160
- isWidgetSelected: (pageId: string, widgetId: string) => boolean;
161
- }
152
+ declare const getDefaultWidgetContext: (configuration: WidgetConfiguration) => WidgetContext;
162
153
  declare const useWidgets: () => WidgetsContext;
154
+ declare const useWidget: (pageId: string, widgetId: string) => WidgetContext | null;
163
155
  interface WidgetsProviderProps {}
164
156
  declare const createRemoraidTheme: (customTheme?: Partial<RemoraidTheme>, dependencies?: Partial<RemoraidThemeDependencies>) => RemoraidTheme;
165
157
  declare const useRemoraidTheme: () => RemoraidTheme;
@@ -178,10 +170,7 @@ declare const useHydratedMantineColorScheme: () => {
178
170
  };
179
171
  interface HydrationStatusProviderProps {}
180
172
  declare function HydrationStatusProvider({ children }: PropsWithChildren3<HydrationStatusProviderProps>): ReactNode4;
181
- declare const defaultLayoutsContext: {
182
- layouts: {}
183
- setLayouts: () => void
184
- };
173
+ declare const defaultLayoutsContext: LayoutsContext;
185
174
  declare const useLayouts: () => LayoutsContext;
186
175
  interface LayoutsProviderProps {}
187
176
  interface RemoraidProviderProps {
@@ -197,7 +186,7 @@ interface RemoraidProviderProps {
197
186
  };
198
187
  }
199
188
  declare function RemoraidProvider({ children, theme, initialUserExperience, componentsProps }: PropsWithChildren5<RemoraidProviderProps>): ReactNode6;
200
- import { BoxProps as BoxProps3 } from "@mantine/core";
189
+ import { BoxProps as BoxProps2 } from "@mantine/core";
201
190
  import { IndicatorProps, PaperProps } from "@mantine/core";
202
191
  import { Icon as Icon2 } from "@tabler/icons-react";
203
192
  import { ReactNode as ReactNode7 } from "react";
@@ -232,7 +221,7 @@ interface FooterMinimalProps {
232
221
  };
233
222
  }
234
223
  declare function FooterMinimal({ componentsProps }: FooterMinimalProps): ReactNode8;
235
- import { ComponentProps as ComponentProps3, PropsWithChildren as PropsWithChildren9, ReactNode as ReactNode12 } from "react";
224
+ import { ComponentProps as ComponentProps3, PropsWithChildren as PropsWithChildren10, ReactNode as ReactNode13 } from "react";
236
225
  import { PropsWithChildren as PropsWithChildren6, ReactNode as ReactNode9 } from "react";
237
226
  declare const defaultAppContext: RemoraidAppContext<CustomAppVariables>;
238
227
  declare const useRemoraidApp: () => RemoraidAppContext<CustomAppVariables>;
@@ -256,7 +245,10 @@ type OptionalIfExtends<
256
245
  V1,
257
246
  V2
258
247
  > = [V1] extends [V2] ? Optional<T, K> : T;
259
- type ElementOfType<T extends ElementType> = ReactElement<ComponentProps<T>, T>;
248
+ type ElementOfType<
249
+ T extends ElementType,
250
+ P = ComponentProps<T>
251
+ > = ReactElement<P, T>;
260
252
  type ChildrenOfType<T extends ElementType> = ElementOfType<T> | undefined | null | ReadonlyArray<ChildrenOfType<T>>;
261
253
  type PropsWithChildrenOfType<
262
254
  T extends ElementType,
@@ -264,34 +256,50 @@ type PropsWithChildrenOfType<
264
256
  > = P & {
265
257
  children?: ChildrenOfType<T>
266
258
  };
267
- type ElementOrPropsOfType<T extends ElementType> = ElementOfType<T> | ComponentProps<T>;
259
+ type ElementOrPropsOfType<
260
+ T extends ElementType,
261
+ P = ComponentProps<T>
262
+ > = ElementOfType<T> | P;
268
263
  declare const isValidElementOfType: <T extends ElementType>(type: T, value: unknown) => value is ElementOfType<T>;
269
264
  declare const getElementTypeName: (type: ElementType | ReactElement["type"]) => string;
270
265
  declare const asElementOfType: <T extends ElementType>(type: T, element: ReactElement, additionalErrorMessage?: string) => ElementOfType<T>;
271
266
  declare const asChildrenOfType: <T extends ElementType>(type: T, children: ChildrenOfType<ElementType>, additionalErrorMessage?: string) => ChildrenOfType<T>;
272
- declare const asElementOrPropsOfType: <T extends ElementType>(type: T, elementOrProps: ReactElement | ComponentProps<T>, additionalErrorMessage?: string) => ElementOrPropsOfType<T>;
273
- import { BoxProps as BoxProps2, GroupProps as GroupProps2, ScrollAreaProps as ScrollAreaProps2, StackProps } from "@mantine/core";
274
- import { ComponentProps as ComponentProps2, PropsWithChildren as PropsWithChildren8, ReactNode as ReactNode11 } from "react";
275
- import { PropsWithChildren as PropsWithChildren7, ReactNode as ReactNode10 } from "react";
267
+ declare const asElementOrPropsOfType: <
268
+ T extends ElementType,
269
+ P = ComponentProps<T>
270
+ >(type: T, elementOrProps: ReactElement | P, additionalErrorMessage?: string) => ElementOrPropsOfType<T, P>;
271
+ import { GroupProps as GroupProps2, MantineSize as MantineSize3, ScrollAreaProps as ScrollAreaProps2, StackProps } from "@mantine/core";
272
+ import { ComponentProps as ComponentProps2, PropsWithChildren as PropsWithChildren9, ReactNode as ReactNode12 } from "react";
273
+ import { PropsWithChildren as PropsWithChildren8, ReactNode as ReactNode11 } from "react";
276
274
  import { BoxProps } from "@mantine/core";
275
+ import { ContainerProps, MantineSize as MantineSize2 } from "@mantine/core";
276
+ import { PropsWithChildren as PropsWithChildren7, ReactNode as ReactNode10 } from "react";
277
+ interface PageContainerProps {
278
+ p?: MantineSize2 | number;
279
+ hidden?: boolean;
280
+ componentsProps?: {
281
+ container?: ContainerProps
282
+ };
283
+ }
284
+ declare function PageContainer2({ children, p, hidden, componentsProps }: PropsWithChildren7<PageContainerProps>): ReactNode10;
277
285
  interface FrameLayoutElementProps {
278
- section: Exclude<FrameLayoutSection, FrameLayoutSection.Content>;
286
+ section: FrameLayoutSection;
279
287
  includeContainer?: boolean;
288
+ includePageContainer?: boolean;
280
289
  layoutId?: string;
290
+ hidden?: boolean;
281
291
  componentsProps?: {
282
292
  container?: Partial<BoxProps>
293
+ PageContainer?: Partial<PageContainerProps>
283
294
  };
284
295
  }
285
- declare function Element2({ section, includeContainer, layoutId, componentsProps, children }: PropsWithChildren7<FrameLayoutElementProps>): ReactNode10;
286
- declare const isFrameLayout: (layout: Layout<LayoutType>) => layout is Layout<LayoutType.Frame>;
287
- type DefaultFrameLayoutVariant = FrameLayoutVariant.Sticky;
288
- declare const defaultFrameLayoutContext: FrameLayoutContext;
289
- declare const useFrameLayout: () => FrameLayoutContext;
290
- interface FrameLayoutPropsWithExplicitVariant<T extends FrameLayoutVariant> {
291
- variant: T;
296
+ declare function Element2({ section, includeContainer, includePageContainer, layoutId, hidden, componentsProps, children }: PropsWithChildren8<FrameLayoutElementProps>): ReactNode11;
297
+ declare const useFrameLayout: () => LayoutContext<LayoutType.Frame> | null;
298
+ interface FrameLayoutProps {
292
299
  layoutId: string;
300
+ includeScrollArea?: boolean;
301
+ gutter?: MantineSize3 | number;
293
302
  componentsProps?: {
294
- childrenContainer?: T extends FrameLayoutVariant.Plain ? Partial<BoxProps2> : T extends FrameLayoutVariant.Sticky ? Partial<ScrollAreaProps2> : never
295
303
  horizontalContainer?: Partial<GroupProps2>
296
304
  verticalContainer?: Partial<StackProps>
297
305
  sectionContainers?: {
@@ -299,17 +307,17 @@ interface FrameLayoutPropsWithExplicitVariant<T extends FrameLayoutVariant> {
299
307
  [FrameLayoutSection.Right]?: Partial<GroupProps2>
300
308
  [FrameLayoutSection.Top]?: Partial<StackProps>
301
309
  [FrameLayoutSection.Bottom]?: Partial<StackProps>
310
+ [FrameLayoutSection.Content]?: Partial<StackProps>
302
311
  }
312
+ ScrollArea?: Partial<ScrollAreaProps2>
303
313
  };
304
314
  }
305
- type FrameLayoutProps<T extends FrameLayoutVariant = DefaultFrameLayoutVariant> = T extends DefaultFrameLayoutVariant ? Optional<FrameLayoutPropsWithExplicitVariant<T>, "variant"> : FrameLayoutPropsWithExplicitVariant<T>;
306
- declare function FrameLayout<T extends FrameLayoutVariant = DefaultFrameLayoutVariant>({ variant, layoutId, componentsProps, children }: PropsWithChildren8<FrameLayoutProps<T>>): ReactNode11;
307
- interface FrameLayout {
308
- <T extends FrameLayoutVariant = DefaultFrameLayoutVariant>(props: ComponentProps2<typeof FrameLayout<T>>): ReactNode11;
315
+ declare function FrameLayout({ layoutId, includeScrollArea, gutter, componentsProps, children }: PropsWithChildren9<FrameLayoutProps>): ReactNode12;
316
+ interface FrameLayout extends React.FC<ComponentProps2<typeof FrameLayout>> {
309
317
  Element: typeof Element2;
310
318
  }
311
319
  declare const _default: FrameLayout;
312
- declare const defaultAppShellLayoutId = "remoraidAppShell";
320
+ declare const remoraidAppShellLayoutId = "remoraid-app-shell";
313
321
  type AppShellNavbarVariant = NavbarVariant | null;
314
322
  type AppShellFooterVariant = FooterVariant | null;
315
323
  type DefaultNavbarVariant = null;
@@ -328,12 +336,12 @@ interface ExplicitAppShellProps<
328
336
  appContext: AppContextProps<V>;
329
337
  navbarPosition?: AppShellNavbarPosition<N>;
330
338
  footerPosition?: AppShellFooterPosition<F>;
339
+ gutter?: FrameLayoutProps["gutter"];
331
340
  componentsProps?: {
332
- container?: Partial<BoxProps3>
341
+ container?: Partial<BoxProps2>
333
342
  navbar?: N extends NavbarVariant.Minimal ? Partial<NavbarMinimalProps> : never
334
- footer?: N extends FooterVariant.Minimal ? Partial<FooterMinimalProps> : never
335
- layout?: Partial<FrameLayoutProps<FrameLayoutVariant.Sticky>>
336
- childrenContainer?: Partial<BoxProps3>
343
+ footer?: F extends FooterVariant.Minimal ? Partial<FooterMinimalProps> : never
344
+ layout?: Partial<FrameLayoutProps>
337
345
  navbarLayoutElement?: Omit<Partial<FrameLayoutElementProps>, "section">
338
346
  footerLayoutElement?: Omit<Partial<FrameLayoutElementProps>, "section">
339
347
  AppProvider?: Partial<AppProviderProps>
@@ -343,23 +351,23 @@ type AppShellProps<
343
351
  N extends AppShellNavbarVariant = DefaultNavbarVariant,
344
352
  F extends AppShellFooterVariant = DefaultFooterVariant,
345
353
  V extends CustomAppVariables = {}
346
- > = OptionalIfExtends<OptionalIfExtends<ExplicitAppShellProps<N, F, V>, "footerVariant", F, DefaultFooterVariant>, "navbarVariant", N, DefaultNavbarVariant>;
354
+ > = OptionalIfExtends<OptionalIfExtends<ExplicitAppShellProps<N, F, V>, "footerVariant", DefaultFooterVariant, F>, "navbarVariant", DefaultNavbarVariant, N>;
347
355
  declare function AppShell<
348
356
  N extends AppShellNavbarVariant = DefaultNavbarVariant,
349
357
  F extends AppShellFooterVariant = DefaultFooterVariant,
350
358
  V extends CustomAppVariables = {}
351
- >(props: PropsWithChildren9<AppShellProps<N, F, V>>): ReactNode12;
359
+ >({ navbarVariant: navbarVariantProp, footerVariant: footerVariantProp, navbarPosition: navbarPositionProp, footerPosition: footerPositionProp, gutter, appContext, componentsProps, children }: PropsWithChildren10<AppShellProps<N, F, V>>): ReactNode13;
352
360
  interface AppShell {
353
361
  <
354
362
  N extends AppShellNavbarVariant = DefaultNavbarVariant,
355
363
  F extends AppShellFooterVariant = DefaultFooterVariant,
356
364
  V extends CustomAppVariables = {}
357
- >(props: ComponentProps3<typeof AppShell<N, F, V>>): ReactNode12;
365
+ >(props: ComponentProps3<typeof AppShell<N, F, V>>): ReactNode13;
358
366
  NavbarMinimal: typeof NavbarMinimal;
359
367
  FooterMinimal: typeof FooterMinimal;
360
368
  }
361
369
  declare const _default2: AppShell;
362
- import { Context as Context2, PropsWithChildren as PropsWithChildren10, ReactNode as ReactNode13 } from "react";
370
+ import { Context as Context2, PropsWithChildren as PropsWithChildren11, ReactNode as ReactNode14 } from "react";
363
371
  declare const createUserExperienceContext: <T extends UserExperience>(defaultUserExperience: T) => Context2<UserExperienceContext<T>>;
364
372
  interface UserExperienceProviderWrapperProps<T extends UserExperience> {
365
373
  context: Context2<UserExperienceContext<T>>;
@@ -368,41 +376,36 @@ interface UserExperienceProviderWrapperProps<T extends UserExperience> {
368
376
  isValidUserExperience: (x: unknown) => x is T;
369
377
  initialValue?: T extends PrimitiveUserExperience | PrimitiveUserExperience[] ? never : Partial<T>;
370
378
  }
371
- declare function UserExperienceProviderWrapper<T extends UserExperience>({ children, context, cookieName, defaultUserExperience, isValidUserExperience, initialValue }: PropsWithChildren10<UserExperienceProviderWrapperProps<T>>): ReactNode13;
379
+ declare function UserExperienceProviderWrapper<T extends UserExperience>({ children, context, cookieName, defaultUserExperience, isValidUserExperience, initialValue }: PropsWithChildren11<UserExperienceProviderWrapperProps<T>>): ReactNode14;
372
380
  declare const defaultUserExperience: CoreUserExperience;
373
381
  declare const defaultUserExperienceCookieName = "remoraid-core-user-experience";
374
382
  declare const useRemoraidUserExperience: () => UserExperienceContext<CoreUserExperience>;
375
- import { MantineSize as MantineSize2 } from "@mantine/core";
376
- import { ReactNode as ReactNode15 } from "react";
383
+ import { MantineSize as MantineSize4 } from "@mantine/core";
384
+ import { ReactNode as ReactNode16 } from "react";
377
385
  interface WidgetSelectionHeaderProps {
378
386
  title?: string;
379
387
  disabledWidgets?: string[];
380
- mt?: MantineSize2 | number;
381
- }
382
- declare function WidgetSelectionHeader({ title, disabledWidgets, mt }: WidgetSelectionHeaderProps): ReactNode15;
383
- import { ReactNode as ReactNode16 } from "react";
384
- interface CloseButtonProps {
385
- widgetId: string;
388
+ mt?: MantineSize4 | number;
386
389
  }
387
- declare function CloseButton2({ widgetId }: CloseButtonProps): ReactNode16;
388
- import { BadgeProps as BadgeProps2, MantineBreakpoint as MantineBreakpoint2, MantineSize as MantineSize3, TooltipProps as TooltipProps2 } from "@mantine/core";
390
+ declare function WidgetSelectionHeader({ title, disabledWidgets, mt }: WidgetSelectionHeaderProps): ReactNode16;
391
+ import { BadgeProps as BadgeProps2, MantineBreakpoint as MantineBreakpoint2, MantineSize as MantineSize5, TooltipProps as TooltipProps2 } from "@mantine/core";
389
392
  import { ComponentProps as ComponentProps4, ReactNode as ReactNode18 } from "react";
390
393
  import { BadgeProps, TooltipProps, TransitionProps } from "@mantine/core";
391
394
  import { ReactNode as ReactNode17 } from "react";
392
395
  interface BadgeMinimalProps {
393
396
  label: string;
394
397
  tooltip?: string;
395
- mounted?: boolean;
398
+ mounted?: TransitionProps["mounted"];
396
399
  componentsProps?: {
397
400
  badge?: BadgeProps
398
401
  transition?: Partial<Omit<TransitionProps, "mounted">>
399
402
  tooltip?: TooltipProps
400
403
  };
401
404
  }
402
- declare function BadgeMinimal(props: BadgeMinimalProps): ReactNode17;
405
+ declare function BadgeMinimal({ label, tooltip, mounted, componentsProps }: BadgeMinimalProps): ReactNode17;
403
406
  interface BadgeGroupProps {
404
407
  badges: (ComponentProps4<typeof BadgeMinimal> | ElementOfType<typeof BadgeMinimal>)[];
405
- gap?: MantineSize3 | number;
408
+ gap?: MantineSize5 | number;
406
409
  breakpoint?: MantineBreakpoint2;
407
410
  componentsProps?: {
408
411
  tooltip?: Partial<TooltipProps2>
@@ -410,142 +413,194 @@ interface BadgeGroupProps {
410
413
  };
411
414
  }
412
415
  declare function BadgeGroup({ badges: badgesProp, gap, breakpoint, componentsProps }: BadgeGroupProps): ReactNode18;
413
- import { AlertProps as AlertProps2, MantineSize as MantineSize4, TransitionProps as TransitionProps2 } from "@mantine/core";
414
- import { PropsWithChildren as PropsWithChildren12, ReactNode as ReactNode19 } from "react";
416
+ import { AlertProps as AlertProps2, MantineSize as MantineSize6, TransitionProps as TransitionProps2 } from "@mantine/core";
417
+ import { PropsWithChildren as PropsWithChildren13, ReactNode as ReactNode19 } from "react";
415
418
  interface AlertMinimalProps {
416
419
  category: AlertCategory;
417
420
  title?: string;
418
421
  text?: string;
419
422
  onClose?: () => void;
420
- mounted?: boolean;
421
- mt?: MantineSize4 | number;
422
- mb?: MantineSize4 | number;
423
+ mounted?: TransitionProps2["mounted"];
424
+ mt?: MantineSize6 | number;
425
+ mb?: MantineSize6 | number;
423
426
  componentsProps?: {
424
427
  alert?: AlertProps2
425
428
  transition?: Omit<TransitionProps2, "mounted">
426
429
  };
427
430
  }
428
- declare function AlertMinimal({ title, category, text, onClose, mounted, mt, mb, componentsProps, children }: PropsWithChildren12<AlertMinimalProps>): ReactNode19;
429
- import { ActionIconProps, ActionIconVariant, ButtonProps, ButtonVariant, MantineBreakpoint as MantineBreakpoint3, MantineColor, MantineSize as MantineSize5, TooltipProps as TooltipProps3 } from "@mantine/core";
431
+ declare function AlertMinimal({ title, category, text, onClose, mounted, mt, mb, componentsProps, children }: PropsWithChildren13<AlertMinimalProps>): ReactNode19;
432
+ import { ActionIconProps, ActionIconVariant, ButtonProps, ButtonVariant, MantineBreakpoint as MantineBreakpoint3, MantineColor, MantineSize as MantineSize7, TooltipProps as TooltipProps3, TransitionProps as TransitionProps3 } from "@mantine/core";
430
433
  import { Icon as Icon3, IconProps as IconProps3 } from "@tabler/icons-react";
431
434
  import { ReactNode as ReactNode20 } from "react";
432
- interface RemoraidButtonProps {
435
+ type RemoraidButtonDefaultResponsivity = true;
436
+ interface ExplicitRemoraidButtonProps<Responsive extends boolean> {
437
+ responsive: Responsive;
433
438
  label: string;
434
- responsive?: boolean;
435
- breakpoint?: MantineBreakpoint3;
436
- collapsed?: boolean;
437
- size?: MantineSize5;
439
+ size?: MantineSize7;
438
440
  color?: MantineColor;
441
+ breakpoint?: true extends Responsive ? MantineBreakpoint3 : never;
442
+ collapsed?: false extends Responsive ? boolean : never;
439
443
  icon?: Icon3;
444
+ iconSize?: RemoraidIconSize;
440
445
  onClick?: () => void;
441
446
  loading?: boolean;
442
447
  variant?: Extract<ButtonVariant, ActionIconVariant>;
448
+ mounted?: TransitionProps3["mounted"];
443
449
  componentsProps?: {
444
450
  tooltip?: Partial<TooltipProps3>
445
451
  icon?: Partial<IconProps3>
446
452
  button?: Omit<Partial<Common<ButtonProps, ActionIconProps>>, "variant" | "onClick" | "size" | "color" | "loading">
453
+ transition?: Partial<Omit<TransitionProps3, "mounted">>
447
454
  Button?: Partial<ButtonProps>
448
455
  ActionIcon?: Partial<ActionIconProps>
449
456
  };
450
457
  }
451
- declare function RemoraidButton({ label, responsive, breakpoint, collapsed, size, color, onClick, loading, variant, componentsProps,...props }: RemoraidButtonProps): ReactNode20;
452
- import { MantineSize as MantineSize6, PaperProps as PaperProps2, TransitionProps as TransitionProps3 } from "@mantine/core";
453
- import { PropsWithChildren as PropsWithChildren13, ReactNode as ReactNode21 } from "react";
454
- interface WidgetWrapperComponentsProps {
455
- container?: Partial<PaperProps2>;
456
- transition?: Partial<Omit<TransitionProps3, "mounted">>;
458
+ type RemoraidButtonProps<Responsive extends boolean = RemoraidButtonDefaultResponsivity> = OptionalIfExtends<ExplicitRemoraidButtonProps<Responsive>, "responsive", true, Responsive>;
459
+ declare function RemoraidButton<Responsive extends boolean = RemoraidButtonDefaultResponsivity>({ label, responsive: ResponsiveProp, breakpoint: breakpointProp, collapsed: collapsedProp, size, color, onClick, loading, variant, mounted, icon: iconProp, iconSize, componentsProps }: RemoraidButtonProps<Responsive>): ReactNode20;
460
+ import { ActionIcon as ActionIcon2, ActionIconProps as ActionIconProps2, TooltipProps as TooltipProps4, TransitionProps as TransitionProps4 } from "@mantine/core";
461
+ import { Icon as Icon4, IconProps as IconProps4 } from "@tabler/icons-react";
462
+ import { ComponentProps as ComponentProps5, ReactNode as ReactNode21 } from "react";
463
+ interface ControlButtonProps {
464
+ icon: Icon4;
465
+ mounted?: boolean;
466
+ tooltip?: string;
467
+ size?: ActionIconProps2["size"];
468
+ iconSize?: RemoraidIconSize;
469
+ color?: ActionIconProps2["color"];
470
+ onClick?: ComponentProps5<typeof ActionIcon2<"button">>["onClick"];
471
+ order?: number;
472
+ componentsProps?: {
473
+ transition?: Partial<TransitionProps4>
474
+ tooltip?: Partial<TooltipProps4>
475
+ button?: Partial<ActionIconProps2>
476
+ icon?: Partial<IconProps4>
477
+ };
478
+ }
479
+ declare function ControlButton({ icon: Icon4, mounted, size, iconSize, onClick, order, color, tooltip, componentsProps }: ControlButtonProps): ReactNode21;
480
+ import { ReactNode as ReactNode22, Ref, RefObject } from "react";
481
+ import { GroupProps as GroupProps3, MantineSize as MantineSize8, PaperProps as PaperProps2, TransitionProps as TransitionProps5 } from "@mantine/core";
482
+ import { IconProps as IconProps5 } from "@tabler/icons-react";
483
+ interface ControlsProps {
484
+ dragContainerRef: RefObject<HTMLDivElement | null>;
485
+ mounted?: boolean;
486
+ groupRef?: Ref<HTMLDivElement>;
487
+ gutter?: MantineSize8 | number;
488
+ iconSize?: RemoraidIconSize;
489
+ additionalButtons?: ElementOrPropsOfType<typeof ControlButton>[];
490
+ componentsProps?: {
491
+ group?: Partial<GroupProps3>
492
+ container?: Partial<PaperProps2>
493
+ transition?: Partial<TransitionProps5>
494
+ gripIcon?: Partial<IconProps5>
495
+ };
496
+ }
497
+ declare function Controls({ groupRef, mounted, dragContainerRef, gutter, iconSize, additionalButtons: additionalButtonsProp, componentsProps, children: childrenProp }: PropsWithChildrenOfType<typeof ControlButton, ControlsProps>): ReactNode22;
498
+ import { MantineSize as MantineSize9, Paper, TransitionProps as TransitionProps6 } from "@mantine/core";
499
+ import { ComponentProps as ComponentProps7, PropsWithChildren as PropsWithChildren15, ReactNode as ReactNode24 } from "react";
500
+ import { ComponentProps as ComponentProps6, PropsWithChildren as PropsWithChildren14, ReactNode as ReactNode23 } from "react";
501
+ import { Box } from "@mantine/core";
502
+ type PinnableDefaultLayoutType = LayoutType.Frame;
503
+ interface ExplicitPinnableProps<T extends LayoutType> {
504
+ layoutType: T;
505
+ section: LayoutSection<T>;
506
+ initialValue?: boolean;
507
+ layoutId?: string;
508
+ controlsContainer?: HTMLDivElement | null;
509
+ hidden?: boolean;
510
+ componentsProps?: {
511
+ controls?: Partial<ControlsProps>
512
+ button?: Partial<ControlButtonProps>
513
+ container?: Partial<ComponentProps6<typeof Box<"div">>>
514
+ layoutElement?: Partial<FrameLayoutElementProps>
515
+ };
457
516
  }
517
+ type PinnableProps<T extends LayoutType = PinnableDefaultLayoutType> = OptionalIfExtends<ExplicitPinnableProps<T>, "layoutType", PinnableDefaultLayoutType, T>;
518
+ declare function Pinnable2<T extends LayoutType = PinnableDefaultLayoutType>({ layoutType: layoutTypeProp, section, initialValue, layoutId, controlsContainer, hidden, componentsProps, children }: PropsWithChildren14<PinnableProps<T>>): ReactNode23;
458
519
  interface WidgetWrapperProps {
459
520
  config: WidgetConfiguration;
460
- mt?: MantineSize6 | number;
521
+ mt?: MantineSize9 | number;
461
522
  withCloseButton?: boolean;
462
- componentsProps?: WidgetWrapperComponentsProps;
463
- }
464
- declare function WidgetWrapper({ children, config, mt, withCloseButton, componentsProps }: PropsWithChildren13<WidgetWrapperProps>): ReactNode21;
465
- interface WidgetWrapper extends React.FC<PropsWithChildren13<WidgetWrapperProps>> {
466
- CloseButton: typeof CloseButton2;
467
- }
468
- declare const _default3: WidgetWrapper;
469
- import { MantineSize as MantineSize7, LoaderProps, DividerProps, StackProps as StackProps2 } from "@mantine/core";
470
- import { ComponentProps as ComponentProps5, PropsWithChildren as PropsWithChildren14, ReactNode as ReactNode22 } from "react";
471
- interface WidgetComponentsProps extends WidgetWrapperComponentsProps {
472
- wrapper?: Partial<Omit<WidgetWrapperProps, "widgetId">>;
473
- loader?: Partial<LoaderProps>;
474
- badgeGroup?: Partial<BadgeGroupProps>;
475
- divider?: Partial<DividerProps>;
476
- alertsContainer?: Partial<StackProps2>;
523
+ pinnableSection?: Exclude<FrameLayoutSection, FrameLayoutSection.Content>;
524
+ componentsProps?: {
525
+ container?: Partial<ComponentProps7<typeof Paper<"div">>>
526
+ transition?: Partial<TransitionProps6>
527
+ controls?: Partial<ControlsProps>
528
+ closeButton?: Partial<ControlButtonProps>
529
+ Pinnable?: Partial<PinnableProps>
530
+ };
477
531
  }
532
+ declare function WidgetWrapper({ config, mt, withCloseButton, pinnableSection, componentsProps, children }: PropsWithChildren15<WidgetWrapperProps>): ReactNode24;
533
+ import { MantineSize as MantineSize10, LoaderProps, DividerProps, StackProps as StackProps2 } from "@mantine/core";
534
+ import { ComponentProps as ComponentProps8, PropsWithChildren as PropsWithChildren16, ReactNode as ReactNode25 } from "react";
478
535
  interface WidgetProps {
479
536
  id: string;
480
- title: string;
537
+ title?: string;
481
538
  config?: Partial<Omit<WidgetConfiguration, "widgetId">>;
482
- badges?: (ComponentProps5<typeof BadgeMinimal> | ElementOfType<typeof BadgeMinimal>)[];
483
- buttons?: (ComponentProps5<typeof RemoraidButton> | ElementOfType<typeof RemoraidButton>)[];
484
- alerts?: (ComponentProps5<typeof AlertMinimal> | ElementOfType<typeof AlertMinimal>)[];
485
- gaps?: MantineSize7 | number | {
486
- badges?: MantineSize7 | number
487
- buttons?: MantineSize7 | number
488
- alerts?: MantineSize7 | number
539
+ badges?: (ComponentProps8<typeof BadgeMinimal> | ElementOfType<typeof BadgeMinimal>)[];
540
+ buttons?: (RemoraidButtonProps<true> | RemoraidButtonProps<false> | ElementOfType<typeof RemoraidButton, RemoraidButtonProps<true> | RemoraidButtonProps<false>>)[];
541
+ alerts?: (ComponentProps8<typeof AlertMinimal> | ElementOfType<typeof AlertMinimal>)[];
542
+ gaps?: MantineSize10 | number | {
543
+ badges?: MantineSize10 | number
544
+ buttons?: MantineSize10 | number
545
+ alerts?: MantineSize10 | number
489
546
  };
490
547
  loading?: boolean;
491
- mt?: MantineSize7 | number;
492
- componentsProps?: WidgetComponentsProps;
548
+ mt?: MantineSize10 | number;
549
+ pinnableSection?: WidgetWrapperProps["pinnableSection"];
550
+ componentsProps?: {
551
+ wrapper?: Partial<Omit<WidgetWrapperProps, "config">>
552
+ loader?: Partial<LoaderProps>
553
+ badgeGroup?: Partial<BadgeGroupProps>
554
+ divider?: Partial<DividerProps>
555
+ alertsContainer?: Partial<StackProps2>
556
+ };
493
557
  }
494
- declare function Widget({ children, id, config, title, badges: badgesProp, buttons: buttonsProp, alerts: alertsProp, gaps, loading, mt, componentsProps }: PropsWithChildren14<WidgetProps>): ReactNode22;
495
- import { ContainerProps, MantineSize as MantineSize8 } from "@mantine/core";
496
- import { PropsWithChildren as PropsWithChildren15, ReactNode as ReactNode23 } from "react";
558
+ declare function Widget({ id, title, config, badges: badgesProp, buttons: buttonsProp, alerts: alertsProp, gaps, loading, mt, pinnableSection, componentsProps, children }: PropsWithChildren16<WidgetProps>): ReactNode25;
559
+ import { ContainerProps as ContainerProps2 } from "@mantine/core";
560
+ import { PropsWithChildren as PropsWithChildren17, ReactNode as ReactNode26 } from "react";
497
561
  declare const usePage: () => PageConfiguration | null;
498
562
  interface PageProps {
499
563
  name?: string;
500
564
  config?: Partial<Omit<PageConfiguration, "name">>;
501
- pt?: MantineSize8 | number;
502
- componentsProps?: {
503
- container?: ContainerProps
504
- };
505
- }
506
- declare function Page({ children, name, config, pt, componentsProps }: PropsWithChildren15<PageProps>): ReactNode23;
507
- import { ContainerProps as ContainerProps2, MantineSize as MantineSize9 } from "@mantine/core";
508
- import { PropsWithChildren as PropsWithChildren16, ReactNode as ReactNode24 } from "react";
509
- interface PageContainerProps {
510
- pt?: MantineSize9 | number;
565
+ p?: PageContainerProps["p"];
511
566
  componentsProps?: {
512
567
  container?: ContainerProps2
513
568
  };
514
569
  }
515
- declare function PageContainer({ children, pt, componentsProps }: PropsWithChildren16<PageContainerProps>): ReactNode24;
516
- import { PropsWithChildren as PropsWithChildren17, ReactNode as ReactNode25 } from "react";
570
+ declare function Page({ children, name, config, p, componentsProps }: PropsWithChildren17<PageProps>): ReactNode26;
571
+ import { PropsWithChildren as PropsWithChildren18, ReactNode as ReactNode27 } from "react";
517
572
  interface NotFoundPageProps {
518
573
  message?: string;
519
574
  componentsProps?: {
520
575
  page?: PageProps
521
576
  };
522
577
  }
523
- declare function NotFoundPage({ children, message, componentsProps }: PropsWithChildren17<NotFoundPageProps>): ReactNode25;
524
- import { ContainerProps as ContainerProps3, MantineSize as MantineSize10 } from "@mantine/core";
525
- import { PropsWithChildren as PropsWithChildren18, ReactNode as ReactNode26 } from "react";
578
+ declare function NotFoundPage({ children, message, componentsProps }: PropsWithChildren18<NotFoundPageProps>): ReactNode27;
579
+ import { ContainerProps as ContainerProps3, MantineSize as MantineSize11 } from "@mantine/core";
580
+ import { PropsWithChildren as PropsWithChildren19, ReactNode as ReactNode28 } from "react";
526
581
  interface EnvironmentShellProps {
527
582
  environment: Record<string, string | undefined>;
528
583
  message?: string;
529
- m?: MantineSize10 | number;
530
- mt?: MantineSize10 | number;
584
+ m?: MantineSize11 | number;
585
+ mt?: MantineSize11 | number;
531
586
  withContainer?: boolean;
532
587
  componentsProps?: {
533
588
  container?: ContainerProps3
534
589
  };
535
590
  }
536
- declare function EnvironmentShell({ children, environment, message, m, mt, withContainer, componentsProps }: PropsWithChildren18<EnvironmentShellProps>): ReactNode26;
537
- import { PropsWithChildren as PropsWithChildren19, ReactNode as ReactNode28 } from "react";
538
- import { ReactNode as ReactNode27 } from "react";
539
- import { GroupProps as GroupProps3 } from "@mantine/core";
591
+ declare function EnvironmentShell({ children, environment, message, m, mt, withContainer, componentsProps }: PropsWithChildren19<EnvironmentShellProps>): ReactNode28;
592
+ import { PropsWithChildren as PropsWithChildren20, ReactNode as ReactNode30 } from "react";
593
+ import { ReactNode as ReactNode29 } from "react";
594
+ import { GroupProps as GroupProps4 } from "@mantine/core";
540
595
  interface SettingsWidgetSaveButtonProps {
541
596
  onSaveChanges: () => void;
542
597
  insideContainer?: boolean;
543
598
  componentsProps?: {
544
- container?: Partial<GroupProps3>
599
+ container?: Partial<GroupProps4>
545
600
  button?: Partial<RemoraidButtonProps>
546
601
  };
547
602
  }
548
- declare function SaveButton2({ onSaveChanges, insideContainer, componentsProps }: SettingsWidgetSaveButtonProps): ReactNode27;
603
+ declare function SaveButton2({ onSaveChanges, insideContainer, componentsProps }: SettingsWidgetSaveButtonProps): ReactNode29;
549
604
  declare const defaultSettingsWidgetContext: {};
550
605
  declare const useSettingsWidgetContext: () => SettingsWidgetContext;
551
606
  interface SettingsWidgetProps {
@@ -554,17 +609,17 @@ interface SettingsWidgetProps {
554
609
  custom?: boolean;
555
610
  widgetProps?: Partial<WidgetProps>;
556
611
  }
557
- declare function SettingsWidget({ children, onRestoreDefaultValues, unsavedChanges, custom, widgetProps }: PropsWithChildren19<SettingsWidgetProps>): ReactNode28;
558
- interface SettingsWidget extends React.FC<PropsWithChildren19<SettingsWidgetProps>> {
612
+ declare function SettingsWidget({ children, onRestoreDefaultValues, unsavedChanges, custom, widgetProps }: PropsWithChildren20<SettingsWidgetProps>): ReactNode30;
613
+ interface SettingsWidget extends React.FC<PropsWithChildren20<SettingsWidgetProps>> {
559
614
  SaveButton: typeof SaveButton2;
560
615
  }
561
- declare const _default4: SettingsWidget;
562
- import { ComponentProps as ComponentProps6, ReactNode as ReactNode30 } from "react";
563
- import { PropsWithChildren as PropsWithChildren20, ReactNode as ReactNode29 } from "react";
616
+ declare const _default3: SettingsWidget;
617
+ import { ComponentProps as ComponentProps9, ReactNode as ReactNode32 } from "react";
618
+ import { PropsWithChildren as PropsWithChildren21, ReactNode as ReactNode31 } from "react";
564
619
  interface SettingsTableRowProps {
565
620
  label: string;
566
621
  }
567
- declare function Row2({ children, label }: PropsWithChildren20<SettingsTableRowProps>): ReactNode29;
622
+ declare function Row2({ children, label }: PropsWithChildren21<SettingsTableRowProps>): ReactNode31;
568
623
  declare const defaultSettingsTableOptions: {
569
624
  leftColumnWidth: string
570
625
  };
@@ -572,35 +627,35 @@ declare const useSettingsTableOptions: () => SettingsTableOptions;
572
627
  interface SettingsTableProps {
573
628
  leftColumnWidth?: string | number;
574
629
  }
575
- declare function SettingsTable({ leftColumnWidth, children: childrenProp }: PropsWithChildrenOfType<typeof Row2, SettingsTableProps>): ReactNode30;
576
- interface SettingsTable extends React.FC<ComponentProps6<typeof SettingsTable>> {
630
+ declare function SettingsTable({ leftColumnWidth, children: childrenProp }: PropsWithChildrenOfType<typeof Row2, SettingsTableProps>): ReactNode32;
631
+ interface SettingsTable extends React.FC<ComponentProps9<typeof SettingsTable>> {
577
632
  Row: typeof Row2;
578
633
  }
579
- declare const _default5: SettingsTable;
580
- import { ComponentProps as ComponentProps7, ReactNode as ReactNode31 } from "react";
634
+ declare const _default4: SettingsTable;
635
+ import { ComponentProps as ComponentProps10, ReactNode as ReactNode33 } from "react";
581
636
  declare const defaultNavbarSettingsWidgetId = "navbar-settings";
582
637
  interface NavbarSettingsWidgetProps {
583
- additionalRows?: (ComponentProps7<typeof _default5.Row> | ElementOfType<typeof _default5.Row>)[];
638
+ additionalRows?: (ComponentProps10<typeof _default4.Row> | ElementOfType<typeof _default4.Row>)[];
584
639
  widgetProps?: Partial<WidgetProps>;
585
640
  componentsProps?: {
586
641
  table: Partial<SettingsTableProps>
587
642
  };
588
643
  }
589
- declare function NavbarSettingsWidget({ additionalRows, widgetProps, componentsProps }: NavbarSettingsWidgetProps): ReactNode31;
590
- import { Chip, ChipGroupProps, FlexProps, MantineSize as MantineSize11, ScrollAreaProps as ScrollAreaProps3 } from "@mantine/core";
591
- import { ReactNode as ReactNode32 } from "react";
644
+ declare function NavbarSettingsWidget({ additionalRows: additionalRowsProp, widgetProps, componentsProps }: NavbarSettingsWidgetProps): ReactNode33;
645
+ import { Chip, ChipGroupProps, FlexProps, MantineSize as MantineSize12, ScrollAreaProps as ScrollAreaProps3 } from "@mantine/core";
646
+ import { ReactNode as ReactNode34 } from "react";
592
647
  interface ScrollbleChipGroupProps {
593
648
  value: string[];
594
649
  onChange?: (value: string[]) => void;
595
- gap?: MantineSize11 | number;
650
+ gap?: MantineSize12 | number;
596
651
  componentsProps?: {
597
652
  chipGroup?: Partial<ChipGroupProps<true>>
598
653
  scrollArea?: Partial<ScrollAreaProps3>
599
654
  container?: Partial<FlexProps>
600
655
  };
601
656
  }
602
- declare function ScrollableChipGroup({ value, onChange, gap, componentsProps, children }: PropsWithChildrenOfType<typeof Chip, ScrollbleChipGroupProps>): ReactNode32;
603
- import { PropsWithChildren as PropsWithChildren21, ReactNode as ReactNode33 } from "react";
657
+ declare function ScrollableChipGroup({ value, onChange, gap, componentsProps, children: childrenProp }: PropsWithChildrenOfType<typeof Chip, ScrollbleChipGroupProps>): ReactNode34;
658
+ import { PropsWithChildren as PropsWithChildren22, ReactNode as ReactNode35 } from "react";
604
659
  declare const createContextCluster: <
605
660
  Context,
606
661
  StaticID extends string = never
@@ -615,5 +670,5 @@ interface ContextClusterProviderProps<
615
670
  declare function ContextClusterProvider<
616
671
  Context,
617
672
  StaticID extends string = never
618
- >({ cluster, values, children }: PropsWithChildren21<ContextClusterProviderProps<Context, StaticID>>): ReactNode33;
619
- export { useWidgets, useSettingsWidgetContext as useSettingsWidgetOptions, useSettingsTableOptions, useRemoraidUserExperience, useRemoraidTheme, useRemoraidApp, usePage, useLayouts, useHydrationStatus, useHydratedMantineColorScheme, useFrameLayout, isValidElementOfType, isFrameLayout, getElementTypeName, defaultUserExperienceCookieName, defaultUserExperience, defaultSettingsWidgetContext as defaultSettingsWidgetOptions, defaultSettingsTableOptions, defaultNavbarSettingsWidgetId, defaultLayoutsContext, defaultFrameLayoutContext, defaultAppShellNavbarPositions, defaultAppShellLayoutId, defaultAppShellFooterPositions, defaultAppContext, createUserExperienceContext, createRemoraidTheme, createContextCluster, co, asElementOrPropsOfType, asElementOfType, asChildrenOfType, WidgetsProviderProps, WidgetWrapperProps, _default3 as WidgetWrapper, WidgetSelectionHeaderProps, WidgetSelectionHeader, WidgetProps, WidgetConfiguration, Widget, UserExperienceProviderWrapperProps, UserExperienceProviderWrapper, UserExperienceProviderProps, UserExperienceContext, UserExperience, TransitionDuration, ThemeProviderProps, StaticRemoraidAppContext, SettingsWidgetSaveButtonProps, SettingsWidgetProps, SettingsWidgetContext, _default4 as SettingsWidget, SettingsTableRowProps, SettingsTableOptions, _default5 as SettingsTable, ScrollbleChipGroupProps, ScrollableChipGroup, RemoraidUser, RemoraidThemeDependencies, RemoraidThemeCallback, RemoraidTheme, RemoraidProviderProps, RemoraidProvider, RemoraidIconSize, RemoraidButtonProps, RemoraidButton, RemoraidBreakpoint, RemoraidAuthContext, RemoraidAppContext, PropsWithChildrenOfType, PrimitiveUserExperience, PageProps, PageContainerProps, PageContainer, PageConfiguration, Page, OptionalIfExtends, Optional, NotFoundPageProps, NotFoundPage, NavbarVariant, NavbarSettingsWidgetProps, NavbarSettingsWidget, NavbarMinimalProps, LayoutsProviderProps, LayoutsContext, LayoutType, Layout, HydrationStatusProviderProps, HydrationStatusProvider, HydrationStatus, FrameLayoutVariant, FrameLayoutSection, FrameLayoutProps, FrameLayoutElementProps, FrameLayoutContext, _default as FrameLayout, FooterVariant, FooterMinimalProps, EnvironmentShellProps, EnvironmentShell, ElementOrPropsOfType, ElementOfType, DefaultNavbarVariant, DefaultFrameLayoutVariant, DefaultFooterVariant, CustomAppVariables, CoreUserExperience, ContextClusterProviderProps, ContextClusterProvider, ContextCluster, Common, CloseButtonProps, ChildrenOfType, BadgeMinimalProps, BadgeMinimal, BadgeGroupProps, BadgeGroup, AppShellProps, AppShellNavbarVariant, AppShellNavbarPosition, AppShellFooterVariant, AppShellFooterPosition, _default2 as AppShell, AppProviderProps, AppProvider2 as AppProvider, AppLogo, AppContextProps, AlertMinimalProps, AlertMinimal, AlertCategory };
673
+ >({ cluster, values, children }: PropsWithChildren22<ContextClusterProviderProps<Context, StaticID>>): ReactNode35;
674
+ export { useWidgets, useWidget, useSettingsWidgetContext as useSettingsWidgetOptions, useSettingsTableOptions, useRemoraidUserExperience, useRemoraidTheme, useRemoraidApp, usePage, useLayouts, useHydrationStatus, useHydratedMantineColorScheme, useFrameLayout, remoraidAppShellLayoutId, isValidElementOfType, getElementTypeName, getDefaultWidgetContext, defaultUserExperienceCookieName, defaultUserExperience, defaultSettingsWidgetContext as defaultSettingsWidgetOptions, defaultSettingsTableOptions, defaultNavbarSettingsWidgetId, defaultLayoutsContext, defaultAppShellNavbarPositions, defaultAppShellFooterPositions, defaultAppContext, createUserExperienceContext, createRemoraidTheme, createContextCluster, co, asElementOrPropsOfType, asElementOfType, asChildrenOfType, WidgetsProviderProps, WidgetsContext, WidgetWrapperProps, WidgetWrapper, WidgetSelectionHeaderProps, WidgetSelectionHeader, WidgetProps, WidgetContext, WidgetConfiguration, Widget, UserExperienceProviderWrapperProps, UserExperienceProviderWrapper, UserExperienceProviderProps, UserExperienceContext, UserExperience, TransitionDuration, ThemeProviderProps, StaticRemoraidAppContext, SettingsWidgetSaveButtonProps, SettingsWidgetProps, SettingsWidgetContext, _default3 as SettingsWidget, SettingsTableRowProps, SettingsTableOptions, _default4 as SettingsTable, ScrollbleChipGroupProps, ScrollableChipGroup, RemoraidUser, RemoraidThemeDependencies, RemoraidThemeCallback, RemoraidTheme, RemoraidProviderProps, RemoraidProvider, RemoraidIconSize, RemoraidButtonProps, RemoraidButtonDefaultResponsivity, RemoraidButton, RemoraidBreakpoint, RemoraidAuthContext, RemoraidAppContext, PropsWithChildrenOfType, PrimitiveUserExperience, PinnableProps, PinnableDefaultLayoutType, Pinnable2 as Pinnable, PageProps, PageContainerProps, PageContainer2 as PageContainer, PageConfiguration, Page, OptionalIfExtends, Optional, NotFoundPageProps, NotFoundPage, NavbarVariant, NavbarSettingsWidgetProps, NavbarSettingsWidget, NavbarMinimalProps, LayoutsProviderProps, LayoutsContext, LayoutType, LayoutSection, LayoutContext, HydrationStatusProviderProps, HydrationStatusProvider, HydrationStatus, FrameLayoutSection, FrameLayoutProps, FrameLayoutElementProps, _default as FrameLayout, FooterVariant, FooterMinimalProps, EnvironmentShellProps, EnvironmentShell, ElementOrPropsOfType, ElementOfType, DefaultNavbarVariant, DefaultFooterVariant, CustomAppVariables, CoreUserExperience, ControlsProps, Controls, ControlButtonProps, ControlButton, ContextClusterProviderProps, ContextClusterProvider, ContextCluster, Common, ChildrenOfType, BadgeMinimalProps, BadgeMinimal, BadgeGroupProps, BadgeGroup, AppShellProps, AppShellNavbarVariant, AppShellNavbarPosition, AppShellFooterVariant, AppShellFooterPosition, _default2 as AppShell, AppProviderProps, AppProvider2 as AppProvider, AppLogo, AppContextProps, AlertMinimalProps, AlertMinimal, AlertCategory };