import { MouseEvent } from 'react'; import { ProcessedEventsData } from '../types/internal-interface'; import { ResourceLevel } from '../services/ResourceGroupingService'; /** * Hook that provides handler for "more events" click to open popup with events for a date. * Events are filtered on demand via {@link getAllEventsForDate} * (optional range uses {@link startDate} when {@link endDate} is provided). * * @param {Function} getAllEventsForDate - Function to retrieve processed events for the given date key * (and optional resource / start-end range). * @returns {{ handleMoreClick: Function }} More-indicator click handler. * @private */ export declare function useMoreIndicator(getAllEventsForDate: (dateKey: string, resourceLeaf?: ResourceLevel, startDate?: Date, endDate?: Date) => ProcessedEventsData[]): { handleMoreClick: (e: MouseEvent, startDate: Date, resource?: ResourceLevel, endDate?: Date) => void; }; export default useMoreIndicator;