import type { FetchedOffsetWell } from '../../api/shared/types';
type InterventionEnrichment = {
    wellIdToInterventionNames: Map<number, string[]>;
    activeInterventionWellIds: Set<number>;
    isLoading: boolean;
};
/**
 * Fetches intervention units with embedded wells via `intervention_unit.wells`
 * and `intervention_unit.active_well` fields, then builds an asset_id → unit name map.
 *
 * Map keys are asset IDs, matching `well.id` on offset wells from `/v2/assets`.
 */
export declare const useInterventionEnrichment: (enabled: boolean) => InterventionEnrichment;
/**
 * Adds `interventionAsset` (string[]) to each well based on intervention unit data.
 * The map is keyed by asset ID (well.id from /v2/assets).
 */
export declare const enrichWellsWithInterventionData: <T extends FetchedOffsetWell>(wells: T[], assetIdToInterventionNames: Map<number, string[]>) => (T & {
    interventionAsset?: string[];
})[];
export {};
//# sourceMappingURL=useInterventionEnrichment.d.ts.map