import { DeclarativeLdm } from "@gooddata/api-client-tiger";
import { IDatasetColumn } from "../PreviewDialog/types";
import { ICsvAnalyzeContext } from "../types/types";
/**
 * Build LDM model from imported CSV columns
 */
export declare const buildLdmModel: (csvAnalyzeContext: ICsvAnalyzeContext, tableName: string, datasetName: string, datasetColumns: IDatasetColumn[]) => DeclarativeLdm;
/**
 * Merges two LDM models into one.
 * The merge is done by combining datasets, date instances, and dataset extensions from both models.
 * If there are any duplicates, the items from the new model will be prioritized.
 * @param currentLdm - current existing LMD model
 * @param newLdm - new LDM model to be merged to existing one
 * @returns
 */
export declare const mergeLdmModels: (currentLdm: DeclarativeLdm, newLdm: DeclarativeLdm) => DeclarativeLdm;
/**
 * Generate CSV source column to LDM ID map.
 * This also handles ambiguous column names by appending index to the ID if needed.
 */
export declare function generateCsvSourceColumnToIdMap(datasetColumns: IDatasetColumn[]): Map<string, string>;
