import { ContentfulEditModel, ContentfulAdminModel } from './types'; declare class ManagementApi { private client; private space; private currentLocale; deliveryApi: any; constructor(space: string, accessToken: string); get(url: string, params?: object): Promise; put(url: string, body: any, version: string): Promise; post(url: string, body: any, contentType: string, contentfulContentType?: string): Promise; getEntry(id: string): Promise; getAsset(id: string): Promise; _getEntity(id: string, entityPath: string): Promise; createModel(model: any): Promise; saveEntry(entry: any): Promise; saveAsset(asset: any): Promise; processAsset(id: string, version: any): Promise; _save(entity: any, entityPath: string): Promise; _publish(entity: any, entityPath: string): Promise; createUpload(file: File): Promise; createAsset(body: any): Promise; getTypeMeta(type: string): Promise; getUser(): Promise; getSpace(): Promise; getLocalesForSpace(spaceId: string): Promise; getDefaultLocaleForSpace(spaceId: string): Promise; formatForDelivery(entry: any): any; _formatForTux(entity: any): Promise; _formatForApi(entity: any): Promise; private _formatAssetsIfFound(model); private _formatAssetForLinking(asset); } export default ManagementApi;