import { IObservableQueryFor, OnNextResult } from './IObservableQueryFor'; import { ObservableQuerySubscription } from './ObservableQuerySubscription'; import { Constructor } from '@cratis/fundamentals'; import { QueryResult } from './QueryResult'; import { Sorting } from './Sorting'; import { Paging } from './Paging'; import { GetHttpHeaders } from '../GetHttpHeaders'; import { ParameterDescriptor } from '../reflection/ParameterDescriptor'; export declare abstract class ObservableQueryFor implements IObservableQueryFor { readonly modelType: Constructor; readonly enumerable: boolean; private _microservice; private _apiBasePath; private _origin; private _connection?; private _httpHeadersCallback; abstract readonly route: string; abstract readonly defaultValue: TDataType; abstract readonly parameterDescriptors: ParameterDescriptor[]; abstract get requiredRequestParameters(): string[]; sorting: Sorting; paging: Paging; constructor(modelType: Constructor, enumerable: boolean); dispose(): void; setMicroservice(microservice: string): void; setApiBasePath(apiBasePath: string): void; setOrigin(origin: string): void; setHttpHeadersCallback(callback: GetHttpHeaders): void; subscribe(callback: OnNextResult>, args?: TParameters): ObservableQuerySubscription; perform(args?: TParameters): Promise>; private validateArguments; private buildRoute; private buildQueryArguments; private addPagingAndSortingToRoute; private deserializeResult; } //# sourceMappingURL=ObservableQueryFor.d.ts.map