import type { TimelineEvent } from "../components/booking-activity-timeline.js"; /** * Fetch the booking's central action-ledger entries and map them into * `TimelineEvent`s so they can be merged into `BookingActivityTimeline`. * Replaces the standalone Ledger tab — operators see one chronological * activity feed instead of two sibling tabs. * * Returns a "Load more" `footer` element when the cursor pager hasn't * exhausted yet so the timeline can render it below the event list. */ export declare function useBookingActionLedgerEvents(bookingId: string): { events: TimelineEvent[]; footer: React.ReactNode | null; };