@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
8 lines • 682 B
TypeScript
import { SuiAccount, SuiValidator, MappedStake } from "./types";
import { Unit } from "@ledgerhq/types-cryptoassets";
import { OperationType } from "@ledgerhq/types-live";
export declare function useSuiMappedStakingPositions(account: SuiAccount): MappedStake[];
export declare function useGetExtraDetails(account: SuiAccount, type: OperationType, digest: string): Record<string, string>;
export declare function useLedgerFirstShuffledValidatorsSui(search: string): SuiValidator[];
export declare const mapStakingPositions: (stakingPositions: import("@mysten/sui/client").DelegatedStake[], validators: SuiValidator[], unit: Unit) => MappedStake[];
//# sourceMappingURL=react.d.ts.map