@cranberry-money/shared-utils
Version:
Shared utility functions for Blueberry platform
8 lines • 668 B
TypeScript
import type { WithdrawalStatus, WithdrawalType, WithdrawalReason, LiquidationStatus } from '@cranberry-money/shared-types';
export declare const getStatusColor: (status: WithdrawalStatus) => string;
export declare const getStatusLabel: (status: WithdrawalStatus) => string;
export declare const getWithdrawalTypeLabel: (type: WithdrawalType) => string;
export declare const getReasonLabel: (reason: WithdrawalReason | null | undefined) => string;
export declare const getLiquidationStatusColor: (status: LiquidationStatus) => string;
export declare const getLiquidationStatusLabel: (status: LiquidationStatus) => string;
//# sourceMappingURL=withdrawal-status.d.ts.map