import { Api } from '../../api'; export declare class JsonApi extends Api { entities: {}; collections: {}; nodes: {}; resources: any; views: {}; cache: boolean; language: string; constructor(); post(path: any, object: any): Promise; patch(path: any, id: any, object: any): Promise; delete(path: any, id: any): Promise; getResourcesIndex(jsonapi_endpoint?: string, language?: string): Promise; getCollection(collectionId: string, params?: any, getRelationships?: boolean): Promise; getCollections(collectionIds: any[], params?: any, getRelationships?: boolean): Promise; getAllCollections(getRelationships?: boolean, exclude?: any[]): Promise; getResource(url: string, params?: any): Promise; getResources(urls: any[]): Promise; getEntityRelationships(entity: any): Promise; getNode(id: any, type?: string): Promise; getNodes(ids: any[]): Promise; saveNode(node: any): Promise; deleteNode(node: any): Promise; getById(entity_id: string): { data: any; }; getByNodeId(nid: any): Promise<{ data: any; }>; getByNid(nid: any, type?: string): void; }