import { IBackendService, IJoinField, LoadFn } from '../interfaces/backend.interface'; import { ExtendEntity } from './backend.service'; import { BackendConfigArgs } from '../interfaces/configuration.interface'; import { IHttpResponse, IPassThruBackend } from '../interfaces/interceptor.interface'; import { IQueryFilter, IQueryResult } from '../interfaces/query.interface'; import { BackendService } from './backend.service'; export declare class MemoryDbService extends BackendService implements IBackendService { private db; constructor(config: BackendConfigArgs); createDatabase(): Promise; deleteDatabase(): Promise; createObjectStore(dataServiceFn: Map): Promise; storeData(collectionName: string, data: T): Promise; clearData(collectionName: string): Promise; hasCollection(collectionName: string): boolean; listCollections(): string[]; getInstance$(collectionName: string, id: string | number): Promise; getAllByFilter$(collectionName: string, conditions?: IQueryFilter[]): Promise; count$(collectionName: string): Promise; get$(collectionName: string, id: string | undefined, query: Map | undefined, url: string, getJoinFields?: IJoinField[], caseSensitiveSearch?: boolean): Promise>>; post$(collectionName: string, id: string, item: ExtendEntity, url: string): Promise>; put$(collectionName: string, id: string, item: ExtendEntity, url: string): Promise>; delete$(collectionName: string, id: string, url: string): Promise>; private generateStrategyId; private isCollectionIdNumeric; private findById; private indexOf; private removeById; private sortedIndex; createFetchBackend(): IPassThruBackend; }