import { FetchState, ID } from '../../../commonStateTypes/common'; import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderTypes'; import { TimeframeTick } from '../../../commonStateTypes/timeframeTick'; import { JEAccruedScheduledTransactionPayload, JEScheduledTransactionPayload } from '../../../entity/jeSchedules/jeSchedulesPayload'; import { JEScheduleKey, ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes'; import { ZeniAPIStatus } from '../../../responsePayload'; import { JEAccruedSchedulesForTypeState, JESchedulesForTypeState, ScheduleAccruedListForTypeState, ScheduleListForTypeState, ScheduleListLocalData, ScheduleListUIState, ScheduleListViewState } from './scheduleListState'; import { ScheduleListSortKey, ScheduleSubTabType } from './scheduleListTypes'; export declare const initialUIState: ScheduleListUIState; export declare const initialJESchedulesForTypeState: JESchedulesForTypeState; export declare const initialJEAccruedSchedulesForTypeState: JEAccruedSchedulesForTypeState; export declare const initialScheduleListStateByType: ScheduleListForTypeState; export declare const initialFixedAssetsScheduleListStateByType: ScheduleListForTypeState; export declare const initialAccruedExpensesScheduleListStateByType: ScheduleAccruedListForTypeState; export declare const initialState: ScheduleListViewState; export declare const fetchDownloadSchedules: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", timeframeAndCategory: { selectedCategoryId: ID; selectedTimeframe: TimeframeTick; }, downloadCategories: string[], statusFilter?: "completed" | "new" | "ongoing" | "all" | undefined, cacheOverride?: any], { timeframeAndCategory: { selectedCategoryId: ID; selectedTimeframe: TimeframeTick; }; scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; cacheOverride: any; downloadCategories: string[]; statusFilter: "completed" | "new" | "ongoing" | "all"; }, "scheduleListView/fetchDownloadSchedules", never, never>, fetchAccruedScheduleList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", timeframeAndCategory?: { selectedCategoryId: ID; selectedTimeframe: TimeframeTick; } | undefined, cacheOverride?: any, statusFilter?: "completed" | "new" | "ongoing" | "all" | undefined], { timeframeAndCategory: { selectedCategoryId: ID; selectedTimeframe: TimeframeTick; } | undefined; scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; cacheOverride: any; statusFilter: "completed" | "new" | "ongoing" | "all"; }, "scheduleListView/fetchAccruedScheduleList", never, never>, fetchScheduleList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", timeframeAndCategory?: { selectedCategoryId: ID; selectedTimeframe: TimeframeTick; } | undefined, cacheOverride?: any], { timeframeAndCategory: { selectedCategoryId: ID; selectedTimeframe: TimeframeTick; } | undefined; scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; cacheOverride: any; }, "scheduleListView/fetchScheduleList", never, never>, fetchSchedulesAccount: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"scheduleListView/fetchSchedulesAccount">, updateScheduleListSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedTimeframe: TimeframeTick, selectedCategoryId: string, scheduleList: JEScheduledTransactionPayload[]], { scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; selectedTimeframe: TimeframeTick; selectedCategoryId: string; scheduleList: JEScheduledTransactionPayload[]; }, "scheduleListView/updateScheduleListSuccess", never, never>, updateAccruedScheduleListSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedTimeframe: TimeframeTick, selectedCategoryId: string, scheduleList: JEAccruedScheduledTransactionPayload[]], { scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; selectedTimeframe: TimeframeTick; selectedCategoryId: string; scheduleList: JEAccruedScheduledTransactionPayload[]; }, "scheduleListView/updateAccruedScheduleListSuccess", never, never>, updateScheduleListFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedTimeframe: TimeframeTick, selectedCategoryId: string, error: ZeniAPIStatus>], { selectedCategoryId: string; selectedTimeframe: TimeframeTick; scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; error: ZeniAPIStatus>; }, "scheduleListView/updateScheduleListFailure", never, never>, updateAccruedScheduleListFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedTimeframe: TimeframeTick, selectedCategoryId: string, error: ZeniAPIStatus>], { selectedCategoryId: string; selectedTimeframe: TimeframeTick; scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; error: ZeniAPIStatus>; }, "scheduleListView/updateAccruedScheduleListFailure", never, never>, updateDownloadScheduleFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedTimeframe: TimeframeTick, selectedCategoryId: string, error: ZeniAPIStatus>], { selectedCategoryId: string; selectedTimeframe: TimeframeTick; scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; error: ZeniAPIStatus>; }, "scheduleListView/updateDownloadScheduleFailure", never, never>, updateDownloadScheduleSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue", selectedTimeframe: TimeframeTick, selectedCategoryId: string, scheduleList: JEScheduledTransactionPayload[]], { scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; selectedTimeframe: TimeframeTick; selectedCategoryId: string; scheduleList: JEScheduledTransactionPayload[]; }, "scheduleListView/updateDownloadScheduleSuccess", never, never>, updateScheduleListSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ scheduleType: ScheduleTypes; subTab: ScheduleSubTabType; }, "scheduleListView/updateScheduleListSubTab">, updateScheduleListScrollState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ scheduleType: ScheduleTypes; scrollYOffset: number; }, "scheduleListView/updateScheduleListScrollState">, updateScheduleListSortState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ scheduleType: ScheduleTypes; sortKey: ScheduleListSortKey; sortOrder: SortOrder; }, "scheduleListView/updateScheduleListSortState">, updateScheduleListLocalData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ localData: ScheduleListLocalData; scheduleType: ScheduleTypes; }, "scheduleListView/updateScheduleListLocalData">, updateScheduleListSearchText: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ scheduleType: ScheduleTypes; searchText: string; }, "scheduleListView/updateScheduleListSearchText">, updateScheduleListDownloadState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ fetchState: FetchState; scheduleType: ScheduleTypes; }, "scheduleListView/updateScheduleListDownloadState">, updateAccruedJEScheduleAccruedByListKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ jeScheduleAccruedKey: JEScheduleKey; key: string; scheduleType: ScheduleTypes; }, "scheduleListView/updateAccruedJEScheduleAccruedByListKey">; declare const _default: import("redux").Reducer; export default _default; type ScheduleStateType = T extends 'prepaid_expenses' | 'fixed_assets' ? ScheduleListForTypeState : T extends 'accrued_expenses' ? ScheduleAccruedListForTypeState : never; export declare function updateState(state: ScheduleListViewState, scheduleType: T, updates: Partial>): void; export declare function getState(state: ScheduleListViewState, scheduleType: T): ScheduleStateType;