import { AbstractEntityService, Annotation, EntityService, PeriodFunctions, Property, QueryOptions, QueryReturn } from '@metad/ocap-core'; import { BehaviorSubject, Observable } from 'rxjs'; import { XmlaDataSource } from './ds-xmla.service'; export declare class XmlaEntityService extends AbstractEntityService implements EntityService { readonly dataSource: XmlaDataSource; readonly entitySet: string; protected annotations$: BehaviorSubject<{ [key: string]: Annotation; }>; constructor(dataSource: XmlaDataSource, entitySet: string); selectAssociations(): Observable<[]>; getOne(id: any): Observable; create(entity: T): Observable; update(entity: T): Observable; delete(criteria: any): Observable; refresh(): void; query(options?: QueryOptions): Observable>; selectQuery(options?: QueryOptions): Observable>; execute(options: { modelName: string; query: QueryOptions; mdx: string; language: string; skip: boolean | void; }): Promise; /** * Add system language filter to query conditions * * @param options * @returns */ setLanguage(options: QueryOptions): QueryOptions; getCalculatedMember(measure: string, type: PeriodFunctions, calendar?: string): Property; }