import { IContentItem } from '../models' ; import { ElementQuery , ItemsFeedQuery , MultipleItemsQuery , MultipleTypeQuery , SingleItemQuery , SingleTypeQuery , TaxonomiesQuery , TaxonomyQuery , LanguagesQuery , } from '../query' ; import { IMappingService } from '../services' ; export interface IDeliveryClient { /**
     * Mapping service - can be used to get strongly typed responses from json result
     */ mappingService : IMappingService ; /**
     * Gets query for languages
     */ languages ( ) : LanguagesQuery ; /**
     * Gets query for multiple types
     */ types ( ) : MultipleTypeQuery ; param { string } typeCodename type ( typeCodename ) : SingleTypeQuery ; /**
     * Gets query for multiple items
     */ items < TContentItem extends IContentItem = IContentItem > ( ) : MultipleItemsQuery < TContentItem > ; /**
     * Gets query for items feed. Executes single HTTP request only. Might not get all items from your Kontent project.
     */ itemsFeed < TContentItem extends IContentItem = IContentItem > ( ) : ItemsFeedQuery < TContentItem > ; param { string } codename item < TContentItem extends IContentItem = IContentItem > ( codename ) : SingleItemQuery < TContentItem > ; /**
     * Gets query for multiple taxonomies
     */ taxonomies ( ) : TaxonomiesQuery ; param { string } codename taxonomy ( codename ) : TaxonomyQuery ; /**
     * Gets query for an element within a type
     */ element ( typeCodename , elementCodename ) : ElementQuery ; }