import { IHubCatalog } from "../../search/types/IHubCatalog";
import { IModel } from "../../hub-types";
/**
 * Converts the migrated catalog of a site model back into a legacy catalog format.
 * As the new catalog format is much more flexible than the legacy format, only supported
 * fields configurations (i.e., group ids) are transferred.
 *
 * @param modelToUpdate modified site model with a migrated catalog
 * @param currentModel currently persisted site model with a legacy catalog
 * @returns site model with any catalog group changes reflected in a legacy format
 */
export declare function convertCatalogToLegacyFormat(modelToUpdate: IModel, currentModel: IModel): IModel;
/**
 * Focused function converting an IHubCatalog to a legacy catalog format.
 * @param catalog
 * @returns
 */
export declare function catalogToLegacy(catalog: IHubCatalog): Record<string, any>;
