import { AxiosInstance } from 'axios'; export interface ContentfulJsonItem { sys: { id: string; updatedAt: string; contentType: { sys: { id: string; }; }; }; fields: any; } export interface ContentfulJsonEntry extends ContentfulJsonItem { fields: any; } export interface ContentfulJsonAsset extends ContentfulJsonItem { } export interface ContentfulQueryResponse { items: ContentfulJsonItem[]; includes?: { Asset?: ContentfulJsonAsset[]; Entry?: ContentfulJsonEntry[]; }; total: number; } declare class QueryApi { private overrides; private client; constructor(space: string, accessToken: string, host: string, client: AxiosInstance); static create(space: string, accessToken: string, host?: string): QueryApi; getEntries(params?: object): Promise; getEntry(id: string): Promise; override(entry: any): void; private populateLinks(links, linkMap); private linkIncluded(result); private linkEntry(item, linkMap); private checkOverride; } export default QueryApi;