UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

10 lines (9 loc) 636 B
import { type PropsWithChildren } from 'react'; import type { StoreApi } from 'zustand'; import type { UseBoundStoreWithEqualityFn } from 'zustand/traditional'; import type { SettingsState, SettingsStoreProviderProps } from './types.js'; type SettingsStore = UseBoundStoreWithEqualityFn<StoreApi<SettingsState>>; export declare const SettingsStoreProvider: ({ children, config, }: PropsWithChildren<SettingsStoreProviderProps>) => import("react/jsx-runtime").JSX.Element; export declare function useSettingsStoreContext(): SettingsStore; export declare function useSettingsStore<T>(selector: (state: SettingsState) => T): T; export {};