import { State as PluginServiceState } from './services/plugins/reducer'; interface StateLastSelectedNotesIds { Folder: any; Tag: any; Search: any; } interface StateClipperServer { startState: string; port: number; } interface StateDecryptionWorker { state: string; itemIndex: number; itemCount: number; decryptedItemCounts: any; decryptedItemCount: number; skippedItemCount: number; } interface StateResourceFetcher { toFetchCount: number; } export interface State { notes: any[]; notesSource: string; notesParentType: string; folders: any[]; tags: any[]; masterKeys: any[]; notLoadedMasterKeys: any[]; searches: any[]; highlightedWords: string[]; selectedNoteIds: string[]; selectedNoteHash: string; selectedFolderId: string; selectedTagId: string; selectedSearchId: string; selectedItemType: string; selectedSmartFilterId: string; lastSelectedNotesIds: StateLastSelectedNotesIds; showSideMenu: boolean; screens: any; historyCanGoBack: boolean; syncStarted: boolean; syncReport: any; searchQuery: string; settings: any; sharedData: any; appState: string; hasDisabledSyncItems: boolean; hasDisabledEncryptionItems: boolean; customCss: string; templates: any[]; collapsedFolderIds: string[]; clipperServer: StateClipperServer; decryptionWorker: StateDecryptionWorker; selectedNoteTags: any[]; resourceFetcher: StateResourceFetcher; backwardHistoryNotes: any[]; forwardHistoryNotes: any[]; pluginsLegacy: any; provisionalNoteIds: string[]; editorNoteStatuses: any; isInsertingNotes: boolean; hasEncryptedItems: boolean; pluginService: PluginServiceState; } export declare const defaultState: State; export declare const MAX_HISTORY = 200; declare class StateUtils { selectArrayShallow(props: any, cacheKey: any): any; oneNoteSelected(state: State): boolean; notesOrder(stateSettings: any): any; foldersOrder(stateSettings: any): any; hasNotesBeingSaved(state: State): boolean; parentItem(state: State): { type: string; id: string; }; lastSelectedNoteIds(state: State): string[]; selectedNote(state: State): any; selectedNoteId(state: State): any; } export declare const stateUtils: StateUtils; declare const reducer: (base: Base, action: any) => Base; export default reducer;