import type { LegalUiMessages } from "../i18n/messages.js"; export type BookingContractCardLabels = Partial>; export interface BookingContractCardProps { /** Booking whose contracts we list. Required — the card filters server-side. */ bookingId: string; /** * API base for attachment download redirects. Defaults to the active * `VoyantLegalProvider` base URL; override when a host needs a different * download origin than its data hooks use. */ apiBaseUrl?: string; labels?: BookingContractCardLabels; } /** * Operator booking-detail "Contract" card. Mount next to the payments / docs * card on the booking detail page. Responsibilities are deliberately narrow: * - List contracts linked to this booking * - Show each contract's latest status + number * - Let the operator download the generated PDF (opens in a new tab) * * Document generation is deliberately not exposed from the React package. * Deployments initiate durable operations through their admitted workflow. */ export declare function BookingContractCard({ bookingId, apiBaseUrl, labels }: BookingContractCardProps): import("react").JSX.Element;