UNPKG

@qite/tide-booking-component

Version:

React Booking wizard & Booking product component for Tide

20 lines (19 loc) 518 B
import type { BookingPackage, Pax } from "@qite/tide-client/build/types"; export interface UseOfferPrinterArgs { bookingPackage?: BookingPackage; getPax: () => Pax[] | undefined; tagIds?: number[]; printActionId?: number | null; onPrinted?: (pdfUrl: string) => void; } export declare function useOfferPrinter({ bookingPackage, getPax, tagIds, printActionId, onPrinted, }: UseOfferPrinterArgs): { handlePrint: () => Promise<void>; loading: boolean; stage: "idle" | "creating" | "printing"; };