import { type FinancePaymentPolicy } from "../schemas.js"; export interface RegenerateBookingPaymentScheduleInput { /** * Booking-level policy override. When the property is present it is * persisted onto the booking before the cascade resolver runs; pass * `null` to clear an existing override (the cascade falls back to * listing → category → supplier → operator default). Omit the property * to regenerate with whatever is currently persisted. */ customerPaymentPolicy?: FinancePaymentPolicy | null; } /** * Regenerate a booking's customer payment schedule * (`POST /v1/admin/bookings/:bookingId/payment-schedule/regenerate`). * Returns the regenerated schedule rows, the persisted booking-level * override (or null) and which cascade layer the schedule came from. */ export declare function useBookingPaymentScheduleRegenerateMutation(bookingId: string): import("@tanstack/react-query").UseMutationResult<{ schedule: { id: string; bookingId: string; bookingItemId: string | null; scheduleType: "other" | "hold" | "deposit" | "installment" | "balance"; status: "expired" | "paid" | "pending" | "cancelled" | "due" | "waived"; dueDate: string; currency: string; amountCents: number; notes: string | null; createdAt: string; updatedAt: string; }[]; bookingPolicy: { deposit: { kind: "none" | "percent" | "fixed_cents"; percent?: number | undefined; amountCents?: number | undefined; }; minDaysBeforeDepartureForDeposit: number; balanceDueDaysBeforeDeparture: number; balanceDueMinDaysFromNow: number; } | null; cascadeSource: "booking" | "supplier" | "listing" | "category" | "operator_default"; }, Error, RegenerateBookingPaymentScheduleInput, unknown>;