import { IDeliveryClientConfig } from '../config'; import { Contracts } from '../contracts'; import { Responses, IContentItem } from '../models'; export interface IMappingService { listContentTypesResponse(data: Contracts.IListContentTypeContract): Responses.IListContentTypesResponse; itemsFeedResponse(data: Contracts.IItemsFeedContract): Responses.IListItemsFeedResponse; viewContentTypeResponse(data: Contracts.IViewContentTypeContract): Responses.IViewContentTypeResponse; viewContentItemResponse(data: Contracts.IViewContentItemContract): Responses.IViewContentItemResponse; listContentItemsResponse(data: Contracts.IListContentItemsContract): Responses.IListContentItemsResponse; viewTaxonomyResponse(data: Contracts.IViewTaxonomyGroupContract): Responses.IViewTaxonomyResponse; listTaxonomiesResponse(data: Contracts.IListTaxonomyGroupsContract): Responses.IListTaxonomiesResponse; viewContentTypeElementResponse(data: Contracts.IViewContentTypeElementContract): Responses.IViewContentTypeElementResponse; listLanguagesResponse(data: Contracts.IListLanguagesContract): Responses.IListLanguagesResponse; } export declare class MappingService implements IMappingService { readonly config: IDeliveryClientConfig; private readonly typeMapper; private readonly languageMapper; private readonly itemMapper; private readonly taxonomyMapper; private readonly genericElementMapper; constructor(config: IDeliveryClientConfig); /** * Gets response for list of languages * @param data Response data */ listLanguagesResponse(data: Contracts.IListLanguagesContract): Responses.IListLanguagesResponse; /** * Gets response for getting a multiple type * @param data Response data */ listContentTypesResponse(data: Contracts.IListContentTypeContract): Responses.IListContentTypesResponse; /** * Gets response for single type * @param data Response data * @param options Options */ viewContentTypeResponse(data: Contracts.IViewContentTypeContract): Responses.IViewContentTypeResponse; itemsFeedResponse(data: Contracts.IItemsFeedContract): Responses.IListItemsFeedResponse; /** * Gets response for getting single item * @param data Response data * @param queryConfig Query configuration */ viewContentItemResponse(data: Contracts.IViewContentItemContract): Responses.IViewContentItemResponse; /** * Gets response for getting multiple items * @param data Response data * @param queryConfig Query configuration */ listContentItemsResponse(data: Contracts.IListContentItemsContract): Responses.IListContentItemsResponse; /** * Gets response for getting single taxonomy item * @param data Response data */ viewTaxonomyResponse(data: Contracts.IViewTaxonomyGroupContract): Responses.IViewTaxonomyResponse; /** * Gets response for getting multiples taxonomies * @param data Response data */ listTaxonomiesResponse(data: Contracts.IListTaxonomyGroupsContract): Responses.IListTaxonomiesResponse; /** * Gets response for getting single content type element * @param data Response data */ viewContentTypeElementResponse(data: Contracts.IViewContentTypeElementContract): Responses.IViewContentTypeElementResponse; private mapPagination; }