remoraid 2.14.7 → 2.19.4

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