import type { FilterState } from '../types';
/**
 * Normalizes filter state to ensure consistency between selectionMode and polygonCoords.
 *
 * When selectionMode is 'lasso' but there's no valid polygon (undefined or < 3 coords),
 * automatically resets selectionMode to 'radius' to prevent inconsistent state.
 *
 * This handles the case where a user:
 * 1. Draws a polygon in lasso mode
 * 2. Deletes the polygon
 * 3. Saves/closes and reopens the modal
 * On reopen, the persisted selectionMode would be 'lasso' with no polygon data.
 */
export declare const normalizeFilters: (filters: FilterState | undefined | null) => FilterState | undefined;
//# sourceMappingURL=normalizeFilters.d.ts.map