import { ActionsObservable, StateObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { Action } from '../Actions'; import { RootState } from '../Core/State/Types'; import { EpicDependencies, ModuleEpic } from '../Core/Store'; import { ServiceError } from '../Service/ServiceError'; import { CategoryTreeNode } from '../Utils/CategoryUtils'; import { RecordClass, RecordInstance } from '../Utils/WdkModel'; export declare const key = "record"; export declare type State = { isLoading: boolean; record: RecordInstance; recordClass: RecordClass; categoryTree: CategoryTreeNode; requestId: string; error?: ServiceError; collapsedSections: string[]; navigationVisible: boolean; navigationQuery: string; navigationCategoriesExpanded: string[]; inBasket: boolean; loadingBasketStatus: boolean; basketError?: Error; favoriteId?: number; loadingFavoritesStatus: boolean; favoritesError?: Error; }; /** Store for record page */ export declare function reduce(state: State | undefined, action: Action): State; /** Get all attributes and tables of active record */ export declare function getAllFields(state: State): string[]; export declare const observe: typeof observeRecordRequests; declare function observeRecordRequests(action$: ActionsObservable, state$: StateObservable, deps: EpicDependencies): Observable; export declare function makeNavigationVisibilityPreferenceEpics(initialVisibility: (recordClass: RecordClass) => boolean): { observeNavigationVisibilityPreference: ModuleEpic; observeNavigationVisibilityState: ModuleEpic; }; export {}; //# sourceMappingURL=RecordStoreModule.d.ts.map