import { FetchStateByTimeframe } from '../../commonStateTypes/coaBalance/coaBalance'; import { ID } from '../../commonStateTypes/common'; import { Report } from '../../commonStateTypes/viewAndReport/viewAndReport'; export interface ProfitAndLossUIState { nodeCollapseState: Record; scrollPosition: { scrollTop: number; scrollLeft?: number; } | undefined; } export interface ProfitAndLossState extends Report { fetchState: FetchStateByTimeframe; uiState: ProfitAndLossUIState; forecastId?: ID; } export interface ProfitAndLossWithForecastState { pandL: ProfitAndLossState; pandLByForecastID: Record; }