import { NoaaLidarState, UnifiedSearchItem, DataSourceType } from '../core/types';
/**
* Custom hook for managing NOAA LiDAR control state in React applications.
*
* @example
* ```tsx
* function MyComponent() {
* const {
* state,
* toggle,
* setSearchResults,
* selectItem,
* deselectItem,
* } = useNoaaLidarState({ collapsed: false });
*
* return (
*
*
*
Results: {state.searchResults.length}
*
* );
* }
* ```
*/
export declare function useNoaaLidarState(initialOptions?: Partial): {
state: NoaaLidarState;
setState: import('react').Dispatch>;
toggle: () => void;
expand: () => void;
collapse: () => void;
setSearchResults: (results: UnifiedSearchItem[], totalMatched?: number) => void;
selectItem: (item: UnifiedSearchItem) => void;
deselectItem: (item: UnifiedSearchItem) => void;
toggleItemSelection: (item: UnifiedSearchItem) => void;
clearSelection: () => void;
setDrawnBbox: (bbox: [number, number, number, number] | null) => void;
setSearching: (isSearching: boolean) => void;
setSearchError: (error: string | null) => void;
clearResults: () => void;
setDataSource: (source: DataSourceType) => void;
reset: () => void;
};
//# sourceMappingURL=useNoaaLidarState.d.ts.map