@gearbox-protocol/permissionless-ui 1.22.0-next.24 → 1.22.0-next.26

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.
@@ -1,40 +0,0 @@
1
- export interface PoolPointsTip {
2
- reward?: {
3
- token?: string;
4
- amount?: bigint | string | number;
5
- name?: string;
6
- description?: string;
7
- };
8
- amount: string;
9
- name: string;
10
- tokenTitle?: string;
11
- fullTip: string;
12
- }
13
- export interface UsePoolPointsTipsProps {
14
- points?: Array<{
15
- token?: string;
16
- amount?: bigint | string | number;
17
- name?: string;
18
- description?: string;
19
- }>;
20
- tokensList?: Record<string, {
21
- symbol: string;
22
- title?: string;
23
- }>;
24
- }
25
- /**
26
- * Hook to generate pool points tips
27
- *
28
- * @param props - Pool points configuration
29
- * @returns Array of tip objects
30
- *
31
- * @example
32
- * ```tsx
33
- * const tips = usePoolPointsTips({
34
- * poolToken,
35
- * points,
36
- * tokensList,
37
- * });
38
- * ```
39
- */
40
- export declare function usePoolPointsTips(props?: UsePoolPointsTipsProps): PoolPointsTip[];