import { Location } from 'history'; import { Action } from '../Actions'; import { CategoryOntology } from '../Utils/CategoryUtils'; import { Question, RecordClass } from '../Utils/WdkModel'; import { UserPreferences, User } from '../Utils/WdkUser'; import { ServiceConfig } from '../Service/ServiceBase'; export declare const key = "globalData"; export declare type GlobalData = Partial<{ config: ServiceConfig; ontology: CategoryOntology; questions: Question[]; recordClasses: RecordClass[]; user: User; preferences: UserPreferences; siteConfig?: any; location: Location; loginForm: { isOpen: boolean; message?: string; destination?: string; }; }>; /** * Handles requested static data item loads and passes remaining actions to * handleAction(), which will usually be overridden by the subclass */ export declare function reduce(state: Partial<{ config: ServiceConfig; ontology: CategoryOntology; questions: Question[]; recordClasses: RecordClass[]; user: User; preferences: Record>; siteConfig?: any; location: Location; loginForm: { isOpen: boolean; message?: string | undefined; destination?: string | undefined; }; }> | undefined, action: Action): GlobalData; //# sourceMappingURL=GlobalData.d.ts.map