import { ListItem, DcuplItemsOptions, Projection, SortingProjection, ScriptController } from '@dcupl/common'; import { DcuplModel, ModelParser } from '../../model-parser'; export declare class ItemService { modelParser: ModelParser; private scriptController; constructor(modelParser: ModelParser, scriptController: ScriptController); getItem(itemId: string, dataAsMap: Map, model: DcuplModel, options?: DcuplItemsOptions): ListType | null; getManyItems(itemKeys: string[], dataAsMap: Map, model: DcuplModel, options?: DcuplItemsOptions): ListType[]; getItems(dataAsMap: Map, model: DcuplModel, options?: DcuplItemsOptions): ListType[]; getItemsAsMap(dataAsMap: Map, model?: DcuplModel, options?: DcuplItemsOptions): Map; protected getSortedItemsBasedOnScript(data: Map, options?: DcuplItemsOptions): Map; protected getSortedItems(data: Map, options?: DcuplItemsOptions, model?: DcuplModel): Map; private getUndefinedValueForSorting; isValidProjection(projection?: Projection): boolean; getPagedData(data: Map, start: number, count: number, projection?: Projection, model?: DcuplModel): Map; protected isValidScriptSorting(sort: SortingProjection | undefined): boolean; protected isValidSortProjection(sort: SortingProjection | undefined): boolean; getProjectedData(projection: Projection, model: DcuplModel, dataEntry: ListType): ListType; }