import { Amount } from '../../commonStateTypes/amount'; import { Balance } from '../../commonStateTypes/balance'; import { FetchState, FetchedState, ID } from '../../commonStateTypes/common'; import { Report } from '../../commonStateTypes/viewAndReport/viewAndReport'; import { ZeniDate } from '../../zeniDayJS'; export declare const TOP_EX_TIME_PERIODS: readonly ["this_week_to_date", "last_week", "this_month_to_date", "last_month", "last_3_months", "last_6_months", "last_12_months", "this_year_to_date", "last_year"]; export declare const toTopExTimePeriod: (v: string) => "last_month" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year" | "this_week_to_date" | "last_week" | "this_month_to_date" | "this_year_to_date"; export type TopExTimePeriod = ReturnType; export interface AccountBalance { accountId: ID; balance: Balance; } export interface TopExpense { accountBalances: AccountBalance[]; endDate: ZeniDate; startDate: ZeniDate; timePeriod: TopExTimePeriod; timePeriodLabel: string; total: Amount; } export interface TopExState extends FetchedState, Report { downloadState: FetchState; topExpenses: TopExpense[]; topExTimePeriod: TopExTimePeriod; }