@gearbox-protocol/ui-kit 2.1.0-next.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +7 -87
  2. package/dist/cjs/components/assets-list-cell/assets-list-cell.cjs +1 -1
  3. package/dist/cjs/components/auth/connect-required.cjs +1 -1
  4. package/dist/cjs/components/auth/index.cjs +1 -1
  5. package/dist/cjs/components/auth/signin-required.cjs +1 -1
  6. package/dist/cjs/components/block-sync/block-sync.cjs +1 -1
  7. package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
  8. package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
  9. package/dist/cjs/components/complex-input/complex-input.cjs +1 -1
  10. package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
  11. package/dist/cjs/components/detailed-page-title/detailed-page-title.cjs +1 -1
  12. package/dist/cjs/components/graph/graph.cjs +1 -1
  13. package/dist/cjs/components/index.cjs +1 -1
  14. package/dist/cjs/components/markdown-viewer/markdown-viewer.cjs +1 -1
  15. package/dist/cjs/components/next/index.cjs +1 -1
  16. package/dist/cjs/components/next/siwe-provider.cjs +1 -0
  17. package/dist/cjs/components/table/editable-grid-table.cjs +1 -1
  18. package/dist/cjs/components/table/editable-table.cjs +1 -1
  19. package/dist/cjs/components/time-to-liquidation/time-to-liquidation.cjs +1 -1
  20. package/dist/cjs/components/tokens-list-cell/tokens-list-cell.cjs +1 -1
  21. package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
  22. package/dist/cjs/index.cjs +1 -1
  23. package/dist/esm/components/assets-list-cell/assets-list-cell.js +4 -3
  24. package/dist/esm/components/auth/connect-required.js +11 -18
  25. package/dist/esm/components/auth/index.js +4 -5
  26. package/dist/esm/components/auth/signin-required.js +23 -30
  27. package/dist/esm/components/block-sync/block-sync.js +4 -3
  28. package/dist/esm/components/checkbox/checkbox-labeled.js +2 -1
  29. package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +2 -1
  30. package/dist/esm/components/complex-input/complex-input.js +4 -3
  31. package/dist/esm/components/compound-apy/compound-apy.js +4 -3
  32. package/dist/esm/components/detailed-page-title/detailed-page-title.js +2 -1
  33. package/dist/esm/components/graph/graph.js +164 -167
  34. package/dist/esm/components/index.js +607 -608
  35. package/dist/esm/components/markdown-viewer/markdown-viewer.js +4 -3
  36. package/dist/esm/components/next/index.js +8 -6
  37. package/dist/esm/components/next/{connectkit/siwe-provider.js → siwe-provider.js} +1 -1
  38. package/dist/esm/components/table/editable-grid-table.js +37 -36
  39. package/dist/esm/components/table/editable-table.js +18 -17
  40. package/dist/esm/components/time-to-liquidation/time-to-liquidation.js +2 -1
  41. package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +4 -3
  42. package/dist/esm/components/with-copy/with-copy.js +4 -3
  43. package/dist/esm/index.js +767 -768
  44. package/dist/types/components/auth/connect-required.d.ts +11 -10
  45. package/dist/types/components/auth/index.d.ts +1 -1
  46. package/dist/types/components/auth/signin-required.d.ts +5 -7
  47. package/dist/types/components/auth/siwe-provider.d.ts +31 -0
  48. package/dist/types/components/filter/filter-modal.d.ts +1 -1
  49. package/dist/types/components/next/index.d.ts +1 -0
  50. package/dist/types/components/next/siwe-provider.d.ts +7 -0
  51. package/dist/types/components/simple-accordion/simple-accordion.d.ts +1 -1
  52. package/package.json +16 -22
  53. package/dist/cjs/components/auth/wallet-ui-context.cjs +0 -1
  54. package/dist/cjs/components/connectkit/connect-kit-wallet-adapter.cjs +0 -1
  55. package/dist/cjs/components/connectkit/index.cjs +0 -1
  56. package/dist/cjs/components/next/connectkit/index.cjs +0 -1
  57. package/dist/cjs/components/next/connectkit/siwe-provider.cjs +0 -1
  58. package/dist/esm/components/auth/wallet-ui-context.js +0 -13
  59. package/dist/esm/components/connectkit/connect-kit-wallet-adapter.js +0 -32
  60. package/dist/esm/components/connectkit/index.js +0 -6
  61. package/dist/esm/components/next/connectkit/index.js +0 -4
  62. package/dist/types/components/auth/wallet-ui-context.d.ts +0 -36
  63. package/dist/types/components/connectkit/connect-kit-wallet-adapter.d.ts +0 -12
  64. package/dist/types/components/connectkit/index.d.ts +0 -2
  65. package/dist/types/components/connectkit/siwe-provider.d.ts +0 -30
  66. package/dist/types/components/next/connectkit/index.d.ts +0 -1
  67. package/dist/types/components/next/connectkit/siwe-provider.d.ts +0 -8
  68. /package/dist/cjs/components/{connectkit → auth}/siwe-provider.cjs +0 -0
  69. /package/dist/esm/components/{connectkit → auth}/siwe-provider.js +0 -0
@@ -2,27 +2,28 @@ import { ReactNode } from 'react';
2
2
  import { Address } from 'viem';
3
3
  import { TabButtonProps } from '../buttons';
4
4
  /**
5
- * ConnectRequired — component that requires a connected wallet to display content.
5
+ * SignInRequired — component that requires SIWE authentication to display content.
6
6
  *
7
7
  * @usage
8
- * Use ConnectRequired to protect content that requires a wallet connection:
9
- * action buttons, editable content, owner-specific features.
8
+ * Use SignInRequired to protect content that requires authentication:
9
+ * action buttons, editable content, owner-specific features, authenticated actions.
10
10
  *
11
11
  * Props:
12
- * - `owner` — optional address that must match connected address to display content.
13
- * - `children` — content displayed when connected (required).
12
+ * - `owner` — optional address that must match signed-in address to display content.
13
+ * - `children` — content displayed when authenticated (required).
14
14
  * - All Button props are supported (variant, size, className, onClick, etc.).
15
15
  *
16
16
  * Behavior:
17
17
  * - If user is connected: renders children (or "You are not the author" if owner mismatch).
18
- * - If wallet not connected: shows "Connect Wallet" button that calls `openConnectModal` from {@link WalletUIProvider}.
19
- *
20
- * When no {@link WalletUIProvider} is mounted, the gate is skipped and `children` are rendered (graceful degradation).
18
+ * - If wallet connected but not signed in: shows "Sign In as {address}" button or "Try Again" if rejected.
19
+ * - If wallet not connected: shows "Connect Wallet" button.
21
20
  *
22
21
  * Note: Uses TabButton by default, but switches to Button if custom props are provided.
22
+ * Button text changes based on authentication state and loading status.
23
23
  *
24
- * Do NOT use ConnectRequired:
25
- * - for public content that does not require a wallet (render content directly).
24
+ * Do NOT use SignInRequired:
25
+ * - for public content that doesn't require authentication (render content directly).
26
+ * - when you need different authentication flow (use appropriate authentication components).
26
27
  */
27
28
  export interface ConnectRequiredProps extends TabButtonProps {
28
29
  owner?: Address;
@@ -1,3 +1,3 @@
1
1
  export * from './connect-required';
2
2
  export * from './signin-required';
3
- export * from './wallet-ui-context';
3
+ export * from './siwe-provider';
@@ -16,17 +16,15 @@ import { TabButtonProps } from '../buttons';
16
16
  *
17
17
  * Behavior:
18
18
  * - If `skipSignIn={true}` or user is signed in: renders children (or "You are not the author" if owner mismatch).
19
- * - If wallet connected but not signed in: shows "Sign In as {address}" or "Try Again".
20
- * - If wallet not connected: shows "Connect Wallet".
21
- *
22
- * Requires {@link WalletUIProvider} with SIWE state (e.g. {@link ConnectKitWalletAdapter} from
23
- * `@gearbox-protocol/ui-kit/connectkit`). Without a provider, the sign-in gate is skipped and `children`
24
- * are rendered (graceful degradation).
19
+ * - If wallet connected but not signed in: shows "Sign In as {address}" button or "Try Again" if rejected.
20
+ * - If wallet not connected: shows "Connect Wallet" button.
25
21
  *
26
22
  * Note: Uses TabButton by default, but switches to Button if custom props are provided.
23
+ * Button text changes based on authentication state and loading status.
27
24
  *
28
25
  * Do NOT use SignInRequired:
29
- * - for public content that does not require authentication (render content directly).
26
+ * - for public content that doesn't require authentication (render content directly).
27
+ * - when you need different authentication flow (use appropriate authentication components).
30
28
  */
31
29
  export interface SignInRequiredProps extends TabButtonProps {
32
30
  owner?: Address;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * SIWEClientProvider — provider component for Sign-In With Ethereum (SIWE) authentication.
3
+ *
4
+ * @usage
5
+ * Use SIWEClientProvider to wrap your application and enable SIWE authentication:
6
+ * app root, authentication context, wallet-based authentication.
7
+ *
8
+ * Props:
9
+ * - `apiRoutePrefix` — API route prefix for SIWE endpoints (required):
10
+ * - `/api/nonce` — endpoint for fetching nonce.
11
+ * - `/api/signin` — endpoint for verifying signature.
12
+ * - `/api/session` — endpoint for getting current session.
13
+ * - `/api/logout` — endpoint for signing out.
14
+ * - `statement` — optional custom statement for SIWE message (defaults to "Sign In With Ethereum.").
15
+ * - `children` — application content wrapped by provider (required).
16
+ *
17
+ * Note: SIWEClientProvider wraps ConnectKit's SIWEProvider with custom API integration.
18
+ * Handles nonce generation, message creation, signature verification, session management, and sign out.
19
+ * Automatically refreshes router on sign in/out.
20
+ *
21
+ * Do NOT use SIWEClientProvider:
22
+ * - when you don't need SIWE authentication (use regular ConnectKit providers).
23
+ */
24
+ interface SIWEProviderProps {
25
+ apiRoutePrefix: string;
26
+ statement?: string;
27
+ children?: React.ReactNode;
28
+ onRefresh?: () => void;
29
+ }
30
+ export declare function SIWEClientProvider({ apiRoutePrefix, statement, children, onRefresh, ...props }: SIWEProviderProps): import("react/jsx-runtime").JSX.Element;
31
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { SelectFilterList } from './interface';
2
2
  import * as React from "react";
3
3
  /**
4
- * FilterModal component - a wrapper for filter modals using ui-kit Dialog
4
+ * FilterModal component - a wrapper for filter modals using @gearbox-protocol/ui-kit Dialog
5
5
  *
6
6
  * This component provides a complete modal interface for selecting multiple filter options
7
7
  * with checkbox-like behavior. It manages the modal state and provides callbacks for
@@ -8,4 +8,5 @@ export { preloadTokenIcons } from '../token-icon';
8
8
  export { BackButton } from './back-button';
9
9
  export { NextMarkdownViewer, type NextMarkdownViewerProps, } from './next-markdown-viewer';
10
10
  export { NextNavigationProvider } from './next-navigation-provider';
11
+ export { SIWEClientProvider } from './siwe-provider';
11
12
  export { TokenIcon } from './token-icon';
@@ -0,0 +1,7 @@
1
+ interface SIWEProviderProps {
2
+ apiRoutePrefix: string;
3
+ statement?: string;
4
+ children?: React.ReactNode;
5
+ }
6
+ export declare function SIWEClientProvider(props: SIWEProviderProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -58,7 +58,7 @@ export interface SimpleAccordionProps {
58
58
  /**
59
59
  * `SimpleAccordion` — a single-component accordion that mirrors the
60
60
  * Accordion API from `../interface` while reusing the base Accordion
61
- * primitives from ui-kit.
61
+ * primitives from @gearbox-protocol/ui-kit.
62
62
  *
63
63
  * Uses `SimpleAccordionItem` for individual expandable sections.
64
64
  *
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/ui-kit",
3
- "version": "2.1.0-next.1",
3
+ "version": "3.0.0",
4
4
  "description": "Internal UI components",
5
+ "repository": "https://github.com/gearbox-protocol/ui-kit",
5
6
  "license": "MIT",
6
7
  "main": "./dist/cjs/index.cjs",
7
8
  "module": "./dist/esm/index.js",
@@ -33,22 +34,7 @@
33
34
  "./globals.css": "./dist/globals.css",
34
35
  "./grid-safelist.css": "./dist/grid-safelist.css",
35
36
  "./theme.css": "./src/styles/theme.css",
36
- "./base.css": "./src/styles/base.css",
37
- "./sdk-legacy": {
38
- "types": "./dist/types/sdk-legacy/index.d.ts",
39
- "import": "./dist/esm/sdk-legacy/index.js",
40
- "default": "./dist/cjs/sdk-legacy/index.cjs"
41
- },
42
- "./connectkit": {
43
- "types": "./dist/types/components/connectkit/index.d.ts",
44
- "import": "./dist/esm/components/connectkit/index.js",
45
- "default": "./dist/cjs/components/connectkit/index.cjs"
46
- },
47
- "./next/connectkit": {
48
- "types": "./dist/types/components/next/connectkit/index.d.ts",
49
- "import": "./dist/esm/components/next/connectkit/index.js",
50
- "default": "./dist/cjs/components/next/connectkit/index.cjs"
51
- }
37
+ "./base.css": "./src/styles/base.css"
52
38
  },
53
39
  "files": [
54
40
  "dist",
@@ -65,8 +51,8 @@
65
51
  "check": "biome check --write",
66
52
  "check:ci": "biome check --diagnostic-level=error",
67
53
  "typecheck:ci": "tsc --noEmit",
68
- "test": "pnpm exec vitest run",
69
- "test:watch": "pnpm exec vitest",
54
+ "test": "vitest run",
55
+ "test:watch": "vitest",
70
56
  "storybook": "storybook dev -p 6006",
71
57
  "build-storybook": "storybook build"
72
58
  },
@@ -107,7 +93,6 @@
107
93
  "tailwindcss-animate": "^1.0.7"
108
94
  },
109
95
  "peerDependencies": {
110
- "axios": "^1.0.0",
111
96
  "@gearbox-protocol/sdk": "*",
112
97
  "@tanstack/react-query": "^5.64.1",
113
98
  "@types/react": "^18 || ^19",
@@ -141,7 +126,6 @@
141
126
  }
142
127
  },
143
128
  "devDependencies": {
144
- "axios": "^1.12.2",
145
129
  "@biomejs/biome": "^2.2.4",
146
130
  "@chromatic-com/storybook": "^4.1.3",
147
131
  "@commitlint/cli": "^20.1.0",
@@ -214,5 +198,15 @@
214
198
  "Firefox >= 80",
215
199
  "Safari >= 13",
216
200
  "Edge >= 80"
217
- ]
201
+ ],
202
+ "pnpm": {
203
+ "onlyBuiltDependencies": [
204
+ "bufferutil",
205
+ "esbuild",
206
+ "keccak",
207
+ "secp256k1",
208
+ "sharp",
209
+ "utf-8-validate"
210
+ ]
211
+ }
218
212
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),e=require("react"),t=e.createContext(null);function o({value:r,children:n}){return l.jsx(t.Provider,{value:r,children:n})}function u(){return e.useContext(t)}exports.WalletUIProvider=o;exports.useWalletUI=u;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("connectkit"),c=require("react"),d=require("../auth/wallet-ui-context.cjs");function r({children:o}){const{setOpen:t,openSIWE:n}=i.useModal(),e=i.useSIWE(),s=c.useMemo(()=>({openConnectModal:()=>t(!0),openSIWE:n,siwe:{isSignedIn:e.isSignedIn,isRejected:e.isRejected,isLoading:e.isLoading,data:e.data}}),[t,n,e.isSignedIn,e.isRejected,e.isLoading,e.data]);return a.jsx(d.WalletUIProvider,{value:s,children:o})}exports.ConnectKitWalletAdapter=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./connect-kit-wallet-adapter.cjs"),t=require("./siwe-provider.cjs");exports.ConnectKitWalletAdapter=e.ConnectKitWalletAdapter;exports.SIWEClientProvider=t.SIWEClientProvider;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./siwe-provider.cjs");exports.SIWEClientProvider=e.SIWEClientProvider;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("next/navigation"),o=require("../../connectkit/siwe-provider.cjs");function i(e){const r=n.useRouter();return t.jsx(o.SIWEClientProvider,{...e,onRefresh:()=>r.refresh()})}exports.SIWEClientProvider=i;
@@ -1,13 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { createContext as n, useContext as l } from "react";
3
- const t = n(null);
4
- function x({ value: e, children: r }) {
5
- return /* @__PURE__ */ o(t.Provider, { value: e, children: r });
6
- }
7
- function a() {
8
- return l(t);
9
- }
10
- export {
11
- x as WalletUIProvider,
12
- a as useWalletUI
13
- };
@@ -1,32 +0,0 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { useModal as d, useSIWE as a } from "connectkit";
3
- import { useMemo as r } from "react";
4
- import { WalletUIProvider as c } from "../auth/wallet-ui-context.js";
5
- function g({
6
- children: t
7
- }) {
8
- const { setOpen: i, openSIWE: o } = d(), e = a(), n = r(
9
- () => ({
10
- openConnectModal: () => i(!0),
11
- openSIWE: o,
12
- siwe: {
13
- isSignedIn: e.isSignedIn,
14
- isRejected: e.isRejected,
15
- isLoading: e.isLoading,
16
- data: e.data
17
- }
18
- }),
19
- [
20
- i,
21
- o,
22
- e.isSignedIn,
23
- e.isRejected,
24
- e.isLoading,
25
- e.data
26
- ]
27
- );
28
- return /* @__PURE__ */ s(c, { value: n, children: t });
29
- }
30
- export {
31
- g as ConnectKitWalletAdapter
32
- };
@@ -1,6 +0,0 @@
1
- import { ConnectKitWalletAdapter as t } from "./connect-kit-wallet-adapter.js";
2
- import { SIWEClientProvider as i } from "./siwe-provider.js";
3
- export {
4
- t as ConnectKitWalletAdapter,
5
- i as SIWEClientProvider
6
- };
@@ -1,4 +0,0 @@
1
- import { SIWEClientProvider as o } from "./siwe-provider.js";
2
- export {
3
- o as SIWEClientProvider
4
- };
@@ -1,36 +0,0 @@
1
- import { ReactNode } from 'react';
2
- /**
3
- * SIWE-related state exposed by a wallet UI adapter (e.g. ConnectKit).
4
- */
5
- export interface WalletUISIWEState {
6
- isSignedIn: boolean;
7
- isRejected: boolean;
8
- isLoading: boolean;
9
- data: {
10
- address?: string;
11
- } | null;
12
- }
13
- /**
14
- * Values provided by {@link WalletUIProvider} so auth helpers work without importing ConnectKit.
15
- */
16
- export interface WalletUIContextValue {
17
- openConnectModal: () => void;
18
- openSIWE?: () => void;
19
- siwe?: WalletUISIWEState;
20
- }
21
- export interface WalletUIProviderProps {
22
- value: WalletUIContextValue;
23
- children?: ReactNode;
24
- }
25
- /**
26
- * Supplies wallet modal + optional SIWE actions for {@link ConnectRequired}, {@link SignInRequired},
27
- * and editable tables that use them.
28
- *
29
- * Use {@link ConnectKitWalletAdapter} from `@gearbox-protocol/ui-kit/connectkit` when using ConnectKit,
30
- * or provide your own `value` (e.g. RainbowKit `useConnectModal`).
31
- */
32
- export declare function WalletUIProvider({ value, children }: WalletUIProviderProps): import("react/jsx-runtime").JSX.Element;
33
- /**
34
- * Returns the wallet UI adapter value, or `null` when no {@link WalletUIProvider} is mounted.
35
- */
36
- export declare function useWalletUI(): WalletUIContextValue | null;
@@ -1,12 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface ConnectKitWalletAdapterProps {
3
- children?: ReactNode;
4
- }
5
- /**
6
- * Bridges ConnectKit (`useModal`, `useSIWE`) into {@link WalletUIProvider} so
7
- * {@link ConnectRequired}, {@link SignInRequired}, and editable tables work without importing ConnectKit
8
- * from application code.
9
- *
10
- * Place inside `ConnectKitProvider` (and typically inside or beside {@link SIWEClientProvider} when using SIWE).
11
- */
12
- export declare function ConnectKitWalletAdapter({ children, }: ConnectKitWalletAdapterProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export { ConnectKitWalletAdapter, type ConnectKitWalletAdapterProps, } from './connect-kit-wallet-adapter';
2
- export { SIWEClientProvider, type SIWEClientProviderProps, } from './siwe-provider';
@@ -1,30 +0,0 @@
1
- /**
2
- * SIWEClientProvider — provider component for Sign-In With Ethereum (SIWE) authentication.
3
- *
4
- * Requires `connectkit` and must be used under `ConnectKitProvider` + `WagmiProvider`.
5
- *
6
- * @usage
7
- * Use SIWEClientProvider to wrap your application and enable SIWE authentication:
8
- * app root, authentication context, wallet-based authentication.
9
- *
10
- * Props:
11
- * - `apiRoutePrefix` — API route prefix for SIWE endpoints (required):
12
- * - `/nonce` — endpoint for fetching nonce (relative to prefix).
13
- * - `/signin` — endpoint for verifying signature.
14
- * - `/session` — endpoint for getting current session.
15
- * - `/logout` — endpoint for signing out.
16
- * - `statement` — optional custom statement for SIWE message (defaults to "Sign In With Ethereum.").
17
- * - `children` — application content wrapped by provider (required).
18
- * - `onRefresh` — optional callback after sign-in or sign-out (e.g. Next.js `router.refresh()`).
19
- *
20
- * Note: wraps ConnectKit's `SIWEProvider` with custom HTTP API integration.
21
- *
22
- * Import from `@gearbox-protocol/ui-kit/connectkit` so `connectkit` stays an optional peer dependency.
23
- */
24
- export interface SIWEClientProviderProps {
25
- apiRoutePrefix: string;
26
- statement?: string;
27
- children?: React.ReactNode;
28
- onRefresh?: () => void;
29
- }
30
- export declare function SIWEClientProvider({ apiRoutePrefix, statement, children, onRefresh, ...props }: SIWEClientProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export { type NextSIWEClientProviderProps, SIWEClientProvider, } from './siwe-provider';
@@ -1,8 +0,0 @@
1
- import { SIWEClientProviderProps as BaseSIWEClientProviderProps } from '../../connectkit/siwe-provider';
2
- export type NextSIWEClientProviderProps = Omit<BaseSIWEClientProviderProps, "onRefresh">;
3
- /**
4
- * Next.js variant of {@link SIWEClientProvider} that calls `router.refresh()` after sign-in and sign-out.
5
- *
6
- * Import from `@gearbox-protocol/ui-kit/next/connectkit`.
7
- */
8
- export declare function SIWEClientProvider(props: NextSIWEClientProviderProps): import("react/jsx-runtime").JSX.Element;