import type { EventsListParams } from '@seamapi/http/connect'; import type { SeamEvent } from '@seamapi/types/connect'; import type { UseSeamQueryResultLegacy } from '../../../lib/seam/use-seam-query-result.js'; export type UseEventsParams = EventsListParams; export type UseEventsData = SeamEvent[]; export interface UseEventsOptions { refetchInterval?: number; } export declare function useEvents(params?: UseEventsParams, { refetchInterval }?: UseEventsOptions): UseSeamQueryResultLegacy<'events', UseEventsData>;