export interface PaymentLinkTripSummaryMessages { ariaLabel: string; heading: string; totalPayable: string; fxRatesLabel: string; } export interface PaymentLinkTripSummaryState { status: "loading" | "ready" | "empty"; node: React.ReactNode; } /** * Fetches the structured trip context for a payment session and returns the * summary card alongside a status the caller can use to decide whether to * suppress the universal page's default notes paragraph. * * - `loading` → render the skeleton, keep notes hidden too (avoids the * flash of plain notes before structured content arrives). * - `ready` → render the card; the caller should hide notes. * - `empty` → session isn't a trip; render nothing and let the * universal page show its default `notes` paragraph. */ export declare function usePaymentLinkTripSummary(sessionId: string, messages: PaymentLinkTripSummaryMessages): PaymentLinkTripSummaryState;