import { Catalog } from "../../search/Catalog";
import { IArcGISContext } from "../../types/IArcGISContext";
import { IHubItemEntityEditor, IHubItemEntity } from "../types/IHubItemEntity";
/**
 * Convert editor values back into an IHubItemEntity,
 * performing any pre-save operations/XHRs/transforms.
 * @param editor - the editor object to convert
 * @param context - contextual portal & auth information
 */
export declare const hubItemEntityFromEditor: (editor: IHubItemEntityEditor<IHubItemEntity>, context: IArcGISContext) => Promise<{
    entity: IHubItemEntity;
    _catalog?: Catalog;
    thumbnailCache?: {
        file?: Blob;
        filename?: string;
        clear: boolean;
    };
}>;
