import { IHttpService } from 'kentico-cloud-core'; import { Observable } from 'rxjs'; import { IDeliveryClientConfig } from '../config'; import { ContentItem, ElementResponses, IContentTypeQueryConfig, IItemQueryConfig, ITaxonomyQueryConfig, ItemResponses, TaxonomyResponses, TypeResponses } from '../models'; import { ISDKInfo } from '../models/common/common-models'; import { BaseDeliveryQueryService } from './base-delivery-query.service'; import { IMappingService } from './mapping.service'; export declare class QueryService extends BaseDeliveryQueryService { constructor(config: IDeliveryClientConfig, httpService: IHttpService, sdkInfo: ISDKInfo, mappingService: IMappingService); /** * Gets single item from given url * @param url Url used to get single item * @param queryConfig Query configuration */ getSingleItem(url: string, queryConfig: IItemQueryConfig): Observable>; /** * Gets multiple items from given url * @param url Url used to get multiple items * @param queryConfig Query configuration */ getMultipleItems(url: string, queryConfig: IItemQueryConfig): Observable>; /** * Gets single content type from given url * @param url Url used to get single type * @param queryConfig Query configuration */ getSingleType(url: string, queryConfig: IContentTypeQueryConfig): Observable; /** * Gets multiple content types from given url * @param url Url used to get multiple types * @param queryConfig Query configuration */ getMultipleTypes(url: string, queryConfig: IContentTypeQueryConfig): Observable; /** * Gets single taxonomy from given url * @param url Url used to get single taxonomy * @param queryConfig Query configuration */ getTaxonomy(url: string, queryConfig: ITaxonomyQueryConfig): Observable; /** * Gets multiple taxonomies from given url * @param url Url used to get multiple taxonomies * @param queryConfig Query configuration */ getTaxonomies(url: string, queryConfig: ITaxonomyQueryConfig): Observable; /** * Gets single content type element from given url * @param url Url used to get single content type element * @param queryConfig Query configuration */ getElement(url: string, queryConfig: ITaxonomyQueryConfig): Observable; }