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