import { IPortal } from "@esri/arcgis-rest-portal"; import { IHubRequestOptions } from "../hub-types"; import { IHubEditableContent, IHubContentEditor } from "../core/types/IHubEditableContent"; /** * @private * Create a new Hub Content item * * Minimal properties are name and org * */ export declare function createContent(partialContent: Partial, requestOptions: IHubRequestOptions): Promise; /** * @private * Update a Hub Content * @param content * @param requestOptions */ export declare function updateContent(content: IHubEditableContent, requestOptions: IHubRequestOptions): Promise; /** * @private * Remove a Hub Content * @param id * @param requestOptions */ export declare function deleteContent(id: string, requestOptions: IHubRequestOptions): Promise; /** * Convert a IHubContentEditor back to an IHubContent * @param editor * @param portal * @returns */ export declare function editorToContent(editor: IHubContentEditor, _portal: IPortal): IHubEditableContent;