import { ID } from '../../commonStateTypes/common'; import { ZeniDate } from '../../zeniDayJS'; import { ZeniUrl as Url } from '../../zeniUrl'; export interface Change { percent: number; since?: ZeniDate; } export interface Insight { change: Change; details: string[]; icon: Url; insightId: ID; insightType: InsightType; summary: string; title?: string; } export interface InsightState { insightsByID: Record; } declare const toInsightType: (v: string) => "operating_expenses" | "revenue" | "cash_position" | "cash_in_cash_out" | "cost_of_sales" | "charge_card_cashback"; export type InsightType = ReturnType; export {};