import type { Dispatch, MutableRefObject, SetStateAction } from 'react'; import type { OffsetWell } from '../../OffsetWellPickerV5.types'; import type { SelectionZone } from '../../types/SelectionZone'; import type { BatchSelectResult, BicWells } from './useWellSelection.types'; type UseSelectionHandlersParams = { subjectWell: OffsetWell | null; wells: OffsetWell[] | null; filteredWells: OffsetWell[] | null; rawBicWells: BicWells | null; rawWellsWithSubject: OffsetWell[] | null; maxOffsetWellNumber: number; maxOffsetSize: number; fetchSearchedWells: (wellIds: number[]) => Promise; setSelectedWells: Dispatch>; setCurrentSelectionZone: Dispatch>; setSelectedWellSection: Dispatch>; hasUserSelectionEditsRef: MutableRefObject; }; type UseSelectionHandlersReturn = { handleChangeOffsetWell: (well: OffsetWell, checked: boolean) => void; handleChangeAllOffsetWells: (checked: boolean) => void; handleBatchSelectWells: (wellsToSelect: OffsetWell[], onComplete?: (result: BatchSelectResult) => void, options?: { override?: boolean; }) => void; handleSelectionZoneConfirm: (zone: SelectionZone | null) => void; handleChangeWellSection: (section: string) => Promise; updateSelectedWellsBySection: (section: string) => Promise; }; /** * Provides all selection handler callbacks: single well toggle, * select/deselect all, batch select, zone confirm, and section change. */ export declare const useSelectionHandlers: ({ subjectWell, wells, filteredWells, rawBicWells, rawWellsWithSubject, maxOffsetWellNumber, maxOffsetSize, fetchSearchedWells, setSelectedWells, setCurrentSelectionZone, setSelectedWellSection, hasUserSelectionEditsRef, }: UseSelectionHandlersParams) => UseSelectionHandlersReturn; export {}; //# sourceMappingURL=useSelectionHandlers.d.ts.map