import type { PropsWithChildren } from 'react'; import type { TUseBalanceOptions } from '../../hooks/balance/types'; import type { TWalletStore } from '@/types'; declare type TBalance = TWalletStore['balance']; declare type TBalanceCallback = (balance: TBalance) => void; declare type TBalanceComponentProps = { options: TUseBalanceOptions; setBalance: TBalanceCallback; } & PropsWithChildren; declare type TBalanceProviderMetadata = { component: (props: TBalanceComponentProps) => null; validatePropsFunc: (options: TWalletStore) => boolean; }; export type { TBalance, TBalanceCallback, TBalanceComponentProps, TBalanceProviderMetadata };