@funkit/connect 8.1.0 → 8.2.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +66 -11
  2. package/dist/__generated__/default_configs.d.ts +7 -6
  3. package/dist/{chunk-5GV4UXWB.js → chunk-FBCU3TQA.js} +13 -2
  4. package/dist/{chunk-RJAD5CZH.js → chunk-MGQZMUZ2.js} +68 -2
  5. package/dist/{chunk-IVO7KGHT.js → chunk-OTMBU2BL.js} +13 -2
  6. package/dist/clients/fanatics.css +10775 -0
  7. package/dist/clients/fanatics.d.ts +42 -0
  8. package/dist/clients/fanatics.js +683 -0
  9. package/dist/components/Box/Box.d.ts +47 -46
  10. package/dist/components/Dialog/Dialog.d.ts +4 -2
  11. package/dist/components/Dialog/DialogContent.css.d.ts +9 -0
  12. package/dist/components/FunBottomBar/FunBottomBar.d.ts +2 -1
  13. package/dist/components/FunButton/FunIconButton.d.ts +1 -1
  14. package/dist/components/FunInfoBanner/FunInfoBanner.d.ts +5 -1
  15. package/dist/components/FunInput/FunInput.d.ts +5 -0
  16. package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
  17. package/dist/components/FunOptionBox/FunOptionBox.d.ts +2 -1
  18. package/dist/components/FunPayments/FunPaymentMethods.d.ts +7 -0
  19. package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +4 -1
  20. package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +8 -3
  21. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +1 -0
  22. package/dist/components/HelpAlert/HelpAlert.d.ts +1 -0
  23. package/dist/components/Icons/ApplePayIcon.d.ts +4 -0
  24. package/dist/components/Icons/BitcoinIcon.d.ts +4 -0
  25. package/dist/components/Icons/FanaticsCreditCardIcon.d.ts +4 -0
  26. package/dist/components/Icons/GooglePayIcon.d.ts +4 -0
  27. package/dist/components/Icons/New/CashIcon.d.ts +4 -0
  28. package/dist/components/Icons/RevolutPayIcon.d.ts +4 -0
  29. package/dist/components/Icons/SepaBankIcon.d.ts +4 -0
  30. package/dist/components/Icons/VenmoIcon.d.ts +4 -0
  31. package/dist/components/Tabs/Tabs.d.ts +10 -0
  32. package/dist/components/Text/Text.d.ts +1 -0
  33. package/dist/components/TransactionStatus/AnimatedText.d.ts +10 -0
  34. package/dist/components/TransactionStatus/DotsDivider.d.ts +2 -0
  35. package/dist/components/TransactionStatus/StepSpinner.d.ts +17 -0
  36. package/dist/components/TransactionStatus/TransactionStatus.d.ts +5 -7
  37. package/dist/components/TransactionStatus/TransactionStatusLoading.d.ts +6 -0
  38. package/dist/consts/customers.d.ts +1 -0
  39. package/dist/css/sprinkles.css.d.ts +304 -49
  40. package/dist/domains/paymentMethods.d.ts +8 -1
  41. package/dist/hooks/queries/useWithdrawalQuote.d.ts +2 -1
  42. package/dist/hooks/usePaymentSources.d.ts +3 -1
  43. package/dist/index.css +4497 -3131
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.js +5871 -4615
  46. package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +2 -1
  47. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +2 -0
  48. package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -0
  49. package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +9 -0
  50. package/dist/modals/CheckoutModal/SourceChange/DefaultSourceList.d.ts +12 -0
  51. package/dist/modals/CheckoutModal/SourceChange/FanaticsSourceList.d.ts +15 -0
  52. package/dist/modals/CheckoutModal/SourceChange/PayPal.d.ts +2 -0
  53. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
  54. package/dist/modals/CheckoutModal/SourceChange/sourceChange.css.d.ts +1 -0
  55. package/dist/providers/FunkitConfigContext.d.ts +119 -5
  56. package/dist/providers/FunkitThemeProvider.d.ts +384 -3
  57. package/dist/themes/baseTheme.d.ts +2 -1
  58. package/dist/themes/baseTheme.js +1 -1
  59. package/dist/themes/darkTheme.js +2 -2
  60. package/dist/themes/lightTheme.js +2 -2
  61. package/dist/utils/checkout.d.ts +6 -0
  62. package/dist/utils/customer.d.ts +2 -3
  63. package/dist/utils/flags/config.d.ts +4 -43
  64. package/dist/utils/flags/resolver.d.ts +34 -0
  65. package/dist/utils/funLogger.d.ts +2 -1
  66. package/dist/wallets/walletConnectors/index.js +29 -29
  67. package/package.json +6 -5
  68. package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +0 -2
  69. package/dist/utils/flags/patches/enable-bitcoin-patch.d.ts +0 -13
@@ -19,16 +19,18 @@ interface DialogProps {
19
19
  /** Whether the transition animation should be used on open/close */
20
20
  withTransition?: boolean;
21
21
  testId?: string;
22
+ /** Whether to use the fanatics bottom sheet style on mobile */
23
+ isFanaticsBottomSheet?: boolean;
22
24
  }
23
25
  /**
24
26
  * Dialog components (title, content, bottom bar) must be rendered as direct children of Dialog for correct scrolling behavior
25
27
  */
26
- export declare function Dialog({ children, onClose, onAnimationComplete, open, titleId, isHidden, isSmartCloseable, withoutSidePadding, withoutBottomPadding, withTransition, testId, }: DialogProps): React.ReactPortal | null;
28
+ export declare function Dialog({ children, onClose, onAnimationComplete, open, titleId, isHidden, isSmartCloseable, withoutSidePadding, withoutBottomPadding, withTransition, testId, isFanaticsBottomSheet, }: DialogProps): React.ReactPortal | null;
27
29
  export declare namespace Dialog {
28
30
  var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, className, }: DialogTitleProps) => React.JSX.Element;
29
31
  var Content: ({ children, fullHeight, paddingLeft, paddingBottom, paddingTop, className, withTopDivider, withBottomDivider, id, withoutInternalPadding, ...boxProps }: DialogContentProps) => React.JSX.Element;
30
32
  var BottomSection: ({ paddingX, children, ...boxProps }: BoxProps) => React.JSX.Element;
31
- var BottomBar: ({ topSection, topSectionVisible, actionButtonProps, onClose, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element | null;
33
+ var BottomBar: ({ topSection, topSectionVisible, actionButtonProps, onClose, onCloseLabel, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element | null;
32
34
  }
33
35
  interface DialogContentProps extends BoxProps {
34
36
  children: ReactNode;
@@ -12,6 +12,15 @@ export declare const dialogWide: string;
12
12
  export declare const withoutSidePadding: string;
13
13
  export declare const withoutBottomPadding: string;
14
14
  export declare const dialogMobile: string;
15
+ /**
16
+ * Fanatics-specific bottom sheet style for mobile
17
+ * - No margins from sides/bottom (full width)
18
+ * - No border radius on bottom corners (only top)
19
+ * - Side paddings 20px instead of 24
20
+ * - Max height 80% of viewport
21
+ * - Internal scrolling when content exceeds height
22
+ */
23
+ export declare const dialogFanaticsBottomSheet: string;
15
24
  export declare const scrollContent: string;
16
25
  export declare const scrollbarHidden: string;
17
26
  export declare const fullHeightContent: string;
@@ -5,5 +5,6 @@ export interface FunBottomBarProps {
5
5
  topSectionVisible?: boolean;
6
6
  actionButtonProps?: FunButtonProps;
7
7
  onClose?: () => void;
8
+ onCloseLabel?: string;
8
9
  }
9
- export declare const FunBottomBar: ({ topSection, topSectionVisible, actionButtonProps, onClose, }: FunBottomBarProps) => React.JSX.Element | null;
10
+ export declare const FunBottomBar: ({ topSection, topSectionVisible, actionButtonProps, onClose, onCloseLabel, }: FunBottomBarProps) => React.JSX.Element | null;
@@ -12,7 +12,7 @@ interface FunIconButtonCustomColors {
12
12
  hoverBorder?: BorderColorType;
13
13
  focusedBorder?: BorderColorType;
14
14
  }
15
- export interface FunIconButtonProps extends Pick<BoxProps, 'as' | 'borderRadius' | 'color' | 'fontSize' | 'fontWeight' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave' | 'style'> {
15
+ export interface FunIconButtonProps extends Pick<BoxProps, 'as' | 'borderRadius' | 'color' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave' | 'style' | 'textTransform'> {
16
16
  onClick?: () => void;
17
17
  /** Icon element to be rendered */
18
18
  icon: React.ReactNode;
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare const FunInfoBanner: () => React.JSX.Element | null;
2
+ interface FunInfoBannerProps {
3
+ configName?: 'showinfobanner' | 'withdrawalinfobanner';
4
+ }
5
+ export declare const FunInfoBanner: ({ configName, }: FunInfoBannerProps) => React.JSX.Element | null;
6
+ export {};
@@ -22,6 +22,7 @@ export interface FunInputProps<T = HTMLInputElement | HTMLTextAreaElement> {
22
22
  alwaysFocused?: boolean;
23
23
  /** Color meant for prefix & suffix elements. Defaults to secondaryText. */
24
24
  adornmentColor?: BoxProps['color'];
25
+ fontFamily?: BoxProps['fontFamily'];
25
26
  textWeight?: BoxProps['fontWeight'];
26
27
  ignoreFontSize?: boolean;
27
28
  overrideBorderWidth?: BoxProps['borderWidth'];
@@ -32,6 +33,10 @@ export interface FunInputProps<T = HTMLInputElement | HTMLTextAreaElement> {
32
33
  allowMultiline?: T extends HTMLInputElement ? false : true;
33
34
  /** Remove default transitions from the input wrapper and base styles. Defaults to false. */
34
35
  ignoreBaseTransitions?: boolean;
36
+ /** Color for decimal digits. When specified, decimal portion will be rendered in this color. */
37
+ decimalsColor?: BoxProps['color'];
38
+ /** Decimal separator character based on locale (e.g., '.' for en-US, ',' for de-DE). Required for decimalsColor to work. */
39
+ decimalSeparator?: string;
35
40
  testId?: string;
36
41
  }
37
42
  export type FunInputChangeEvent = ChangeEvent<HTMLInputElement | HTMLTextAreaElement>;
@@ -1 +1 @@
1
- export declare const funOptionBoxStyle: Record<"baseStyle" | "defaultBorder" | "transparentBorder" | "activeBorder" | "disabledOptionBorder" | "defaultBackground" | "activeBackground", string>;
1
+ export declare const funOptionBoxStyle: Record<"baseStyle" | "compactListStyle" | "defaultBorder" | "transparentBorder" | "activeBorder" | "disabledOptionBorder" | "defaultBackground" | "activeBackground" | "uninteractiveBackground", string>;
@@ -2,10 +2,11 @@ import React, { type ReactNode } from 'react';
2
2
  import { type BoxProps } from '../Box/Box';
3
3
  interface FunOptionBoxProps extends Omit<BoxProps, 'className' | 'cursor' | 'tabIndex' | 'style'> {
4
4
  isActive?: boolean;
5
+ isCompactList?: boolean;
5
6
  paddingX?: BoxProps['paddingX'];
6
7
  paddingY?: BoxProps['paddingY'];
7
8
  type?: 'default' | 'bordered';
8
9
  children: ReactNode;
9
10
  }
10
- export declare function FunOptionBox({ isActive, onClick, paddingX, paddingY, type, as, borderStyle, borderWidth, borderRadius, display, alignItems, gap, justifyContent, color, children, disabled, ...boxProps }: FunOptionBoxProps): React.JSX.Element;
11
+ export declare function FunOptionBox({ isActive, isCompactList, onClick, paddingX, paddingY, type, as, borderStyle, borderWidth, borderRadius, display, alignItems, gap, justifyContent, color, children, disabled, ...boxProps }: FunOptionBoxProps): React.JSX.Element;
11
12
  export {};
@@ -1,5 +1,12 @@
1
1
  import React, { type ReactNode } from 'react';
2
+ import { type FunkitPaymentMethodIconsConfig } from '../../providers/FunkitConfigContext';
2
3
  import { PaymentMethod, type PaymentMethodBrokerageInfo, type PaymentMethodVirtualBankInfo } from '../../domains/paymentMethods';
4
+ /**
5
+ * Get a custom icon passed in from UI customization config
6
+ * These icons are passed in from client to support enhanced branding+design
7
+ * Called "value icon" in the context of FunPaymentMethodItem
8
+ */
9
+ export declare function getIconFromUiConfig(paymentMethod: PaymentMethod, iconConfig: FunkitPaymentMethodIconsConfig | undefined, defaultIconSize?: number): ReactNode | undefined;
3
10
  export declare const getDynamicValueIconComponent: () => React.JSX.Element;
4
11
  export declare function SupportedChainList({ chainIdList, iconSize, style, }: {
5
12
  chainIdList: string[];
@@ -1,9 +1,12 @@
1
1
  import React from 'react';
2
+ import { type TextProps } from '../Text/Text';
2
3
  export interface FunBrokerageItemProps {
3
4
  exchangeName: string;
4
5
  exchangeIcon: React.ReactNode;
5
6
  hasActiveConnection: boolean;
6
7
  badgeText?: string;
7
8
  disabled?: boolean;
9
+ fontSize?: TextProps['size'];
10
+ fontWeight?: TextProps['weight'];
8
11
  }
9
- export declare const FunBrokerageItem: ({ exchangeName, exchangeIcon, hasActiveConnection, badgeText, disabled, }: FunBrokerageItemProps) => React.JSX.Element;
12
+ export declare const FunBrokerageItem: ({ exchangeName, exchangeIcon, hasActiveConnection, badgeText, disabled, fontSize, fontWeight, }: FunBrokerageItemProps) => React.JSX.Element;
@@ -5,9 +5,14 @@ type FunSkeletonBlockProps = {
5
5
  marginBottom?: BoxProps['marginBottom'];
6
6
  marginTop?: BoxProps['marginTop'];
7
7
  style?: BoxProps['style'];
8
- height: string;
9
8
  /** Defaults to full width */
10
9
  width?: BoxProps['width'];
11
- };
12
- export declare function FunSkeletonBlock({ width, borderRadius, height, ...props }: FunSkeletonBlockProps): React.JSX.Element;
10
+ } & ({
11
+ fontSize?: never;
12
+ height: Exclude<BoxProps['height'], undefined> | `${number}px`;
13
+ } | {
14
+ fontSize: Exclude<BoxProps['fontSize'], undefined | 'inherit'>;
15
+ height?: never;
16
+ });
17
+ export declare function FunSkeletonBlock({ borderRadius, fontSize, height, width, ...props }: FunSkeletonBlockProps): React.JSX.Element;
13
18
  export {};
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type BoxProps } from '../Box/Box';
3
3
  export declare function FunTxSummaryBox({ children, ...otherProps }: BoxProps): React.JSX.Element;
4
+ export declare function FunTxSummaryDivider(): React.JSX.Element;
4
5
  export declare function FunTxSummaryLineItem({ children, ...otherProps }: BoxProps): React.JSX.Element;
5
6
  export declare function FunTxSummaryLineItemKeyText({ text }: {
6
7
  text: string;
@@ -2,5 +2,6 @@ import React from 'react';
2
2
  interface HelpAlertProps {
3
3
  onHelp: () => void;
4
4
  }
5
+ export declare const HelpText: ({ onHelp }: HelpAlertProps) => React.JSX.Element;
5
6
  export declare const HelpAlert: ({ onHelp }: HelpAlertProps) => React.JSX.Element;
6
7
  export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const ApplePayIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const BitcoinIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const FanaticsCreditCardIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const GooglePayIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const CashIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const RevolutPayIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const SepaBankIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const VenmoIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -1,11 +1,21 @@
1
1
  import React from 'react';
2
+ import { type BoxProps } from '../Box/Box';
2
3
  export type Tab<T = string> = {
3
4
  label: string;
4
5
  value: T;
6
+ icon?: React.ReactNode;
5
7
  };
6
8
  export type TabsProps = {
7
9
  tabs: Tab[];
8
10
  activeTab: number;
9
11
  onTabChange: (tab: number) => void;
12
+ /** Custom background color for the container */
13
+ containerBackgroundColor?: BoxProps['background'];
14
+ /** Custom vertical padding for tab buttons */
15
+ tabPaddingY?: BoxProps['paddingY'];
16
+ fontWeight?: BoxProps['fontWeight'];
17
+ fontSize?: BoxProps['fontSize'];
18
+ activeTabStyles?: React.CSSProperties;
19
+ containerStyles?: React.CSSProperties;
10
20
  };
11
21
  export declare const Tabs: React.FC<TabsProps>;
@@ -12,6 +12,7 @@ export type TextProps = {
12
12
  className?: string;
13
13
  tabIndex?: number;
14
14
  textAlign?: BoxProps['textAlign'];
15
+ textTransform?: BoxProps['textTransform'];
15
16
  display?: BoxProps['display'];
16
17
  testId?: string;
17
18
  title?: string;
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import { type TextProps } from '../Text/Text';
3
+ export interface AnimatedTextProps extends TextProps {
4
+ animationDelay?: number;
5
+ animationDuration?: number;
6
+ animationMaxBlur?: number;
7
+ animationMaxDistance?: number;
8
+ textKey: number | string;
9
+ }
10
+ export declare const AnimatedText: FC<AnimatedTextProps>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DotsDivider: React.FC;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { CheckoutProgressStep } from '../../providers/FunkitCheckoutContext';
3
+ export declare const STEP_SPINNER_MORPH_DEGREES = 45;
4
+ export declare const STEP_SPINNER_MORPH_MAX_OFFSET = 4;
5
+ export declare const STEP_SPINNER_SIZE_BIG_SCALE = 1;
6
+ export declare const STEP_SPINNER_SIZE_SMALL_SCALE: number;
7
+ /**
8
+ * Returns SVG path for a circle that expands or retracts on one side.
9
+ * @param deg In degrees - Span of morphing arcs *on each side* (e.g. 90° would be morphing an entire half) - 90° at most
10
+ * @param offset In pixels - Positive offset expands, negative offset retracts
11
+ * @param side Which side are we morphing - "left" or "right"
12
+ */
13
+ export declare function getCircleMorphPath(deg: number, offset: number, side: 'left' | 'right'): string;
14
+ export declare function StepSpinner({ initialStep, step, }: {
15
+ initialStep: CheckoutProgressStep;
16
+ step: CheckoutProgressStep;
17
+ }): React.JSX.Element;
@@ -1,7 +1,8 @@
1
1
  import type { TFunction } from 'i18next';
2
2
  import React, { type ReactNode } from 'react';
3
3
  import type { CheckoutProgressStep } from '../../providers/FunkitCheckoutContext';
4
- interface TransactionStatusProps {
4
+ import { type FunkitTextCustomizationsConfig } from '../../providers/FunkitConfigContext';
5
+ export interface TransactionStatusProps {
5
6
  isSlowTransaction: boolean;
6
7
  isWithdrawal: boolean;
7
8
  textConfigStatus?: TextConfigStatus;
@@ -24,13 +25,10 @@ export type TextConfigContext = {
24
25
  durationUnits: string;
25
26
  isWithdrawal: boolean;
26
27
  finalizeVerb: string;
28
+ textCustomizations: FunkitTextCustomizationsConfig;
27
29
  };
28
30
  export type TextConfigStatus = Record<Exclude<TransactionStatusProps['status'], 'progress'> | 'progress_delayed', TextConfig | ((context: TextConfigContext) => TextConfig)>;
29
- export declare const getDefaultTextConfigStatus: (t: TFunction) => TextConfigStatus;
30
31
  export type TextConfigSteps = Record<CheckoutProgressStep, TextConfig | ((context: TextConfigContext) => TextConfig)>;
32
+ export declare const getDefaultTextConfigStatus: (t: TFunction) => TextConfigStatus;
31
33
  export declare const getDefaultTextConfigSteps: (t: TFunction) => TextConfigSteps;
32
- export declare function TransactionStatusLoading({ expectedStatus, }: {
33
- expectedStatus: TransactionStatusProps['status'];
34
- }): React.JSX.Element;
35
- export declare function TransactionStatus({ isSlowTransaction, isWithdrawal, status, step, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
36
- export {};
34
+ export declare const TransactionStatus: React.FC<TransactionStatusProps>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import type { TransactionStatusProps } from './TransactionStatus';
3
+ export interface TransactionStatusLoadingProps {
4
+ expectedStatus: TransactionStatusProps['status'];
5
+ }
6
+ export declare const TransactionStatusLoading: FC<TransactionStatusLoadingProps>;
@@ -13,5 +13,6 @@ export declare function isHyenaCustomer(apiKey: string): apiKey is "pLQBJsA6zS9t
13
13
  export declare function isAvantisCustomer(apiKey: string): apiKey is "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2";
14
14
  export declare function isPerplCustomer(apiKey: string): apiKey is "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu";
15
15
  export declare function isLighterxyzCustomer(apiKey: string): apiKey is "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2";
16
+ export declare function isFanaticsCustomer(apiKey: string): apiKey is "lI7amueGK94QtGa7sGGVf8n0XhIcn4sHFAZRu5Jj";
16
17
  export declare function isLighterEthSpot(apiKey: string, checkoutConfig: FunkitCheckoutConfig | undefined): boolean | undefined;
17
18
  export declare function isLighterNativeFlow(apiKey: string, checkoutConfig: Pick<FunkitCheckoutConfig, 'targetChain'> | undefined): boolean;