import FabreactorListStore from "./ui/ListStore"; import { IFabreactorListProps } from "../components/List"; import { FabreactorView, FabreactorField, FabreactorFieldHighlight } from "../utils"; export default class FabreactorRootStore { private api; i18n: any; private domainStore; listStore: FabreactorListStore; constructor(api: IFabreactorListProps, i18n: any); load: () => Promise; initDomain: () => Promise; onViewChange: (view: FabreactorView, preserveFilters?: boolean) => Promise; getSummaryValue: (field: FabreactorField, total: any) => Promise; onLinkClick: (item: any, total: any) => Promise; updateMyViewFields: (key: string, fields: FabreactorField[]) => void; getNextPage: () => Promise; getFilterValues: (key: string) => { key: any; }[]; clearFilter: (key: any) => Promise; onExport: (view: any) => Promise; addFilter: (filter: any) => Promise; onToggleFullWidth: () => void; onOffsetChange: (offsetChange: number) => Promise; getFieldValueQueued: (item: any, field: FabreactorField) => Promise; getFieldColor: (item: any, field: FabreactorField, value: any) => Promise; getFieldValue: (item: any, field: FabreactorField) => Promise; getCurrentQuery: () => { page: number; filters: import("../utils").FabreactorFilter[]; searchQuery: string | undefined; offset: number | null; orderBy: import("../utils").FabreactorOrderBy | null | undefined; }; onSearch: (query: string) => Promise; onSearchCleared: () => Promise; getViewForm: (item: any) => Promise; getNewForm: () => Promise; addItem: (item: any) => Promise; deleteListItem: (item: any) => Promise; deleteItem: (item: any) => void; updateItem: (item: any) => void; onOrderBy: (fieldKey: string, descending: boolean) => Promise; cancelAllRequests: () => void; isSearchView: (key: string) => boolean | undefined; readonly items: any[] | null | undefined; readonly itemProperties: import("../utils").FabreactorItemProperties; readonly currentViews: FabreactorView[]; readonly searchQuery: string | undefined; readonly orderBy: import("../utils").FabreactorOrderBy | null | undefined; readonly hasNewItem: boolean; readonly hasSearch: boolean; readonly hasNextPage: boolean; readonly totalPages: number; readonly itemsPerPage: number; readonly hasDelete: boolean; readonly filters: import("../utils").FabreactorFilter[]; readonly listImage: string | undefined; readonly azureApiKey: string | undefined; readonly switchViewAfterNewItem: string | null | undefined; readonly preview: boolean | null | undefined; readonly compact: boolean | null | undefined; readonly language: string | null | undefined; readonly stickyHeader: boolean | undefined; readonly customNewForm: boolean | undefined; readonly secondaryListImage: string | undefined; readonly secondaryListImageLink: string | undefined; readonly secondaryListImageTooltip: string | undefined; readonly defaultItem: any; readonly hideCommandBar: boolean | null | undefined; readonly currentView: FabreactorView | undefined; readonly showFullWidthToggle: boolean | undefined; readonly isFullWidthDefault: boolean | undefined; readonly dynamicViewOffset: number | null; readonly disableItemSelection: boolean | null | undefined; }