export interface CancelBookingInput { note?: string | null; } /** * Cancels a booking via POST /v1/admin/bookings/:id/cancel. * The backend releases allocations, cancels items, and logs a status-change activity. */ export declare function useBookingCancelMutation(bookingId: string): import("@tanstack/react-query").UseMutationResult<{ id: string; bookingNumber: string; status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"; personId: string | null; organizationId: string | null; sellCurrency: string; sellAmountCents: number | null; costAmountCents: number | null; marginPercent: number | null; startDate: string | null; endDate: string | null; pax: number | null; internalNotes: string | null; createdAt: string; updatedAt: string; startsAt?: string | null | undefined; endsAt?: string | null | undefined; items?: { id: string; title: string; itemType: string; productId: string | null; productName?: string | null | undefined; startsAt?: string | null | undefined; endsAt?: string | null | undefined; }[] | undefined; communicationLanguage?: string | null | undefined; contactFirstName?: string | null | undefined; contactLastName?: string | null | undefined; contactPartyType?: "individual" | "company" | null | undefined; contactTaxId?: string | null | undefined; contactEmail?: string | null | undefined; contactPhone?: string | null | undefined; contactPreferredLanguage?: string | null | undefined; contactCountry?: string | null | undefined; contactRegion?: string | null | undefined; contactCity?: string | null | undefined; contactAddressLine1?: string | null | undefined; contactAddressLine2?: string | null | undefined; contactPostalCode?: string | null | undefined; customerPaymentPolicy?: { deposit: { kind: "none" | "percent" | "fixed_cents"; percent?: number | undefined; amountCents?: number | undefined; }; minDaysBeforeDepartureForDeposit: number; balanceDueDaysBeforeDeparture: number; balanceDueMinDaysFromNow: number; } | null | undefined; priceOverride?: { isManual: true; originalAmountCents: number | null; overriddenAmountCents: number; currency: string; reason: string; overriddenBy: string; overriddenAt: string; } | null | undefined; }, Error, CancelBookingInput, unknown>;