import DevExpress from "devextreme/bundles/dx.all"; import CustomStore from "devextreme/data/custom_store"; import { NAPConnectionService } from "./nap-connection.service"; import { NAPFunctionFilter } from "./napi.interfaces"; export declare class NAPDataStore extends CustomStore { protected resource: string; protected conn: NAPConnectionService; protected keysField: Array; filter: Array | NAPFunctionFilter; constructor(resource: string, conn: NAPConnectionService, keysField: Array, filter: Array | NAPFunctionFilter); /** Gets a data item with a specific key. */ byKey(key: any | string | number): Promise & JQueryPromise; /** Gets the total count of items the load() function returns. */ totalCount(obj: { filter?: any; group?: any; }): Promise & JQueryPromise; /** Gets the key property (or properties) as specified in the key option. */ key(): any; /** Gets a data item's key value. */ keyOf(obj: any): any; /** Adds a data item to the store. */ insert(values: any): Promise & JQueryPromise; getKeyFilter(key: any): Array; /** Updates a data item with a specific key. */ update(key: any | string | number, values: any): Promise & JQueryPromise; /** Removes a data item with a specific key from the store. */ remove(key: any | string | number): Promise & JQueryPromise; load(options?: DevExpress.data.LoadOptions): Promise & JQueryPromise; }