import { EntitySchema } from 'fusefx-modeldescription'; import { LogicalExpression, PagingParams, SortingField, PaginatedList } from 'fusefx-repositorycontract'; import { IDataSource } from 'ushell-modulebase'; export declare class LocalStoreDataSource implements IDataSource { constructor(dataSourceUid: string, entitySchema?: EntitySchema); extractIdentityFrom(entity: object): object; getRecord(identityFields: object): Promise; private addOrUpdate; entityUpdateMethod: (entity: any[]) => Promise; entityInsertMethod: (entity: any[]) => Promise; entityDeleteMethod(entity: any[]): Promise; containsIdentityOf(entity: object): Promise; getRecords(filter?: LogicalExpression, pagingParams?: PagingParams, sortingParams?: SortingField[]): Promise; getEntityRefs(filter?: LogicalExpression, pagingParams?: PagingParams, sortingParams?: SortingField[]): Promise; private records; private reload; dataSourceUid: string; entitySchema?: EntitySchema; entityFactoryMethod(): any; setAllRecords(records: object[]): void; private persist; }