import { type IBucketOfFun, type IFilters } from "../../interfaces/Visualization.js";
/**
 * GeoChartNext intentionally preserves original filter bucket to avoid dropping MVFs intended for non-root layers.
 *
 * However, when switching from a visualization with many measures to geo (which limits measures),
 * MVFs referencing measures that were removed from the *root* buckets can become dangling.
 *
 * This helper:
 * - only touches MVFs that referenced measures present in the *old* root buckets (so layer MVFs are preserved)
 * - converts dropped simple bucket measures from measureLocalIdentifier-based MVF to measureRef-based MVF
 * - converts dimensionality local ids to ObjRefs when possible (when improved filters are enabled)
 * - drops MVFs that would stay invalid/dangling after the bucket change
 */
export declare function sanitizeGeoReferencePointFilters(filters: IFilters | undefined, oldBuckets: IBucketOfFun[], newBuckets: IBucketOfFun[], enableImprovedAdFilters: boolean): IFilters;
//# sourceMappingURL=sanitizeGeoReferencePointFilters.d.ts.map