import { ClientAnalytics } from '@zeniai/client-analytics';
import { AccountReport, COABalance, FetchState, ForecastListSelectorView, ID, ProfitAndLossReport, ZeniUrl } from '@zeniai/client-epic-state';
import { RequestToOpenThreadType } from '../../commentsAndNotes/utils/ThreadsProvider';
import { CompareMode } from '../../common/compareMode';
import { ReportTreeScrollPosition } from '../../reportTree/ReportTree';
import { AccountBalanceClickMeta } from '../../reportTree/reportTreeTypes';
export interface Props {
    compareMode: Exclude<CompareMode, "off">;
    forecastList: ForecastListSelectorView;
    isForecastVsActualOn: boolean;
    meetingUrl: ZeniUrl;
    nodeOpenStatus: Record<string, boolean>;
    pandLreport: ProfitAndLossReport;
    selectedTimeframe: "month" | "quarter" | "year";
    type: "name+balances_actual" | "name+balances_forecast";
    analytics?: ClientAnalytics;
    initialOpenThreadRequest?: RequestToOpenThreadType;
    isAiCfoAccessEnabled?: boolean;
    isReportsCommentingEnabled?: boolean;
    isZeniUser?: boolean;
    scrollPosition?: ReportTreeScrollPosition;
    selectedForecast?: {
        id: ID;
        index: number;
    };
    onAccountBalanceClick?: (account: AccountReport, balance: COABalance, balanceClickMeta?: AccountBalanceClickMeta) => void;
    onAskAiCfoClick?: () => void;
    onBackClick?: () => void;
    onClickMenuIcon?: () => void;
    onCompareModeChanged?: (newCompareMode: Exclude<CompareMode, "off">) => void;
    onForecastSelectionChanged?: (newForecastId: ID, newForecastIndex: number) => void;
    onForecastVsActualsCompareToggle?: (isForecastVsActualOn: boolean) => void;
    onNodeCollapseToggled?: (nodeId: string, isOpen: boolean) => void;
    onTableScroll?: (props: ReportTreeScrollPosition) => void;
    onTimeframeChanged?: (newTimeframe: "month" | "quarter" | "year") => void;
}
declare function PandLWithForecastPage({ selectedTimeframe, isForecastVsActualOn, compareMode, forecastList, selectedForecast, pandLreport, type, meetingUrl, analytics, isReportsCommentingEnabled, isZeniUser: isZeniUserProp, initialOpenThreadRequest, onForecastSelectionChanged, onTimeframeChanged, onForecastVsActualsCompareToggle, onAccountBalanceClick, onCompareModeChanged, scrollPosition, onTableScroll, nodeOpenStatus, onNodeCollapseToggled, isAiCfoAccessEnabled, onAskAiCfoClick, onBackClick, onClickMenuIcon, }: Props): import("react/jsx-runtime").JSX.Element;
export default PandLWithForecastPage;
export declare const isAnyInProgress: (fetchStates: FetchState[]) => boolean;
