// Segment Components
export { SegmentProvider, useSegment, useSegmentFilter } from './SegmentContext';
export type { SegmentProviderProps } from './SegmentContext';

export { SegmentSelector } from './SegmentSelector';
export type { SegmentSelectorProps } from './SegmentSelector';

export { SegmentBuilder } from './SegmentBuilder';
export type { SegmentBuilderProps } from './SegmentBuilder';

export { SegmentComparison } from './SegmentComparison';
export type { SegmentComparisonProps } from './SegmentComparison';

// Type exports
export type {
  TimeSeriesDataPoint,
  SegmentCondition,
  Segment,
  SegmentMetrics,
  FunnelStep,
  CohortData,
  MetricConfig,
  ActivityItem,
  RealtimeMetrics,
} from './types';

// Utility hooks
export { useTimeRange } from './hooks/use-time-range';
export type {
  TimeRangePreset,
  TimeRange,
  UseTimeRangeOptions,
  UseTimeRangeReturn,
} from './hooks/use-time-range';

export { useRefreshInterval } from './hooks/use-refresh-interval';
export type {
  RefreshInterval,
  UseRefreshIntervalOptions,
  UseRefreshIntervalReturn,
} from './hooks/use-refresh-interval';
