// Public barrel for the popular-requests feature. See frozen-barrels.md.

// 5A — Types
export type {
  RequestMode,
  PopularRequestType,
  PopularRequest,
  PopularRouteRequest,
  PopularArrivalRequest,
  PopularDepartureRequest,
  PopularFlightNumberRequest,
} from "./types.js";

// 5A — API functions
export { getPopularRequests } from "./api.js";

// 5A — React hooks
export { usePopularRequests } from "./hooks/usePopularRequests.js";
export type { UsePopularRequestsResult } from "./hooks/usePopularRequests.js";

// 5B — Components
export { PopularRequestsPanel } from "./components/PopularRequestsPanel.js";
export type { PopularRequestsPanelProps } from "./components/PopularRequestsPanel.js";
export { PopularRequestItem } from "./components/PopularRequestItem.js";
export type { PopularRequestItemProps } from "./components/PopularRequestItem.js";
export { RequestInfo } from "./components/RequestInfo.js";
export type { RequestInfoProps } from "./components/RequestInfo.js";
