import { Amount } from '../../../../commonStateTypes/amount'; import { FetchedState, ID } from '../../../../commonStateTypes/common'; import { SortOrder } from '../../../../commonStateTypes/selectorTypes/sortOrderTypes'; export interface CashbackDetailState extends FetchedState { cashbackAnalytics: CashbackAnalytics; cashbackByPeriod: CashbackPeriod[]; cashbackSummary: { cashbackAvailable: Amount; cashbackEarned: Amount; cashbackRedeemed: Amount; }; insightId: ID; uiState: CashbackDetailUIState; } export interface CashbackDetailUIState { sortKey: CashbackViewSortKey; sortOrder: SortOrder; } export interface CashbackPeriod extends Amount { period: string; } export declare const ALL_CASHBACK_SORT_KEYS: readonly ["month", "cashback"]; export declare const toCashbackSortKeyType: (v: string) => "month" | "cashback"; export declare type CashbackViewSortKey = ReturnType; export declare const initialCashbackAnalytics: CashbackAnalytics; export interface CashbackAnalytics { creditCardCashbackOffer: number; creditCardCashbackRedemptionMode: string; debitCardCashbackOffer: number; debitCardCashbackRedemptionMode: string; }