import { ClientAnalytics } from '@zeniai/client-analytics';
import { AgingDateSelectionType, AgingReportId, AgingReportSortKey, AgingReportUIState, AuthParams, FetchState, FileType, ID, SortOrder, ZeniDate } from '@zeniai/client-epic-state';
import { AgingReport } from './common';
export interface DownloadAgingReportOptions {
    companyName: string;
    reportDate: ZeniDate;
    reportId: AgingReportId;
    searchString: string;
    sortKey: AgingReportSortKey;
    sortOrder: SortOrder;
    statementFileType: FileType;
    timezone: string;
}
export interface DownloadAgingReportOptionsPayload {
    company_name: string;
    report_date: ZeniDate;
    report_id: AgingReportId;
    search_string: string;
    sort_key: AgingReportSortKey;
    sort_order: SortOrder;
    statement_file_type: string;
    timezone: string;
    locale_id?: string;
}
interface DownloadParamsProps {
    authParams: AuthParams;
    companyName: string;
    downloadEndPoint: string;
    timezone: string;
}
export interface Props {
    analytics: ClientAnalytics;
    downloadParams: DownloadParamsProps;
    report: AgingReport;
    uiState: AgingReportUIState;
    isAiCfoAccessEnabled?: boolean;
    onBackClick: () => void;
    onEntityNameClick: (entityId: ID) => void;
    onNodeCollapseToggled: (nodeId: string, isOpen: boolean) => void;
    onReloadReport: () => void;
    onSearchTextChange: (value: string) => void;
    onSelectedDateChanged: (selectedDate: ZeniDate, agingSelectionDateType: AgingDateSelectionType) => void;
    onSortOrderChange: (sortOrder: SortOrder, sortKey: AgingReportSortKey) => void;
    updateDownloadStateHandler: (fetchState: FetchState) => void;
    onAskAiCfoClick?: () => void;
}
export default function AgingReportsPage(props: Readonly<Props>): import("react/jsx-runtime").JSX.Element;
export declare function toDownloadAgingReportOptionsPayload(options: DownloadAgingReportOptions): DownloadAgingReportOptionsPayload;
export {};
