import type { insertBookingItemSchema, updateBookingItemSchema } from "@voyant-travel/bookings/validation"; import type { z } from "zod"; export type CreateBookingItemInput = z.input; export type UpdateBookingItemInput = z.input; export declare function useBookingItemMutation(bookingId: string): { create: import("@tanstack/react-query").UseMutationResult<{ id: string; bookingId: string; title: string; description: string | null; itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport"; status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed"; serviceDate: string | null; startsAt: string | null; endsAt: string | null; quantity: number; sellCurrency: string; unitSellAmountCents: number | null; totalSellAmountCents: number | null; costCurrency: string | null; unitCostAmountCents: number | null; totalCostAmountCents: number | null; notes: string | null; productId: string | null; optionId: string | null; optionUnitId: string | null; pricingCategoryId: string | null; availabilitySlotId: string | null; createdAt: string; updatedAt: string; productNameSnapshot?: string | null | undefined; optionNameSnapshot?: string | null | undefined; unitNameSnapshot?: string | null | undefined; departureLabelSnapshot?: string | null | undefined; }, Error, { title: string; sellCurrency: string; description?: string | null | undefined; itemType?: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport" | undefined; status?: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | undefined; serviceDate?: string | null | undefined; startsAt?: string | null | undefined; endsAt?: string | null | undefined; quantity?: number | undefined; unitSellAmountCents?: number | null | undefined; totalSellAmountCents?: number | null | undefined; costCurrency?: string | null | undefined; unitCostAmountCents?: number | null | undefined; totalCostAmountCents?: number | null | undefined; notes?: string | null | undefined; productId?: string | null | undefined; optionId?: string | null | undefined; optionUnitId?: string | null | undefined; pricingCategoryId?: string | null | undefined; availabilitySlotId?: string | null | undefined; productNameSnapshot?: string | null | undefined; optionNameSnapshot?: string | null | undefined; unitNameSnapshot?: string | null | undefined; departureLabelSnapshot?: string | null | undefined; sourceSnapshotId?: string | null | undefined; sourceOfferId?: string | null | undefined; metadata?: Record | null | undefined; }, unknown>; update: import("@tanstack/react-query").UseMutationResult<{ id: string; bookingId: string; title: string; description: string | null; itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport"; status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed"; serviceDate: string | null; startsAt: string | null; endsAt: string | null; quantity: number; sellCurrency: string; unitSellAmountCents: number | null; totalSellAmountCents: number | null; costCurrency: string | null; unitCostAmountCents: number | null; totalCostAmountCents: number | null; notes: string | null; productId: string | null; optionId: string | null; optionUnitId: string | null; pricingCategoryId: string | null; availabilitySlotId: string | null; createdAt: string; updatedAt: string; productNameSnapshot?: string | null | undefined; optionNameSnapshot?: string | null | undefined; unitNameSnapshot?: string | null | undefined; departureLabelSnapshot?: string | null | undefined; }, Error, { id: string; input: UpdateBookingItemInput; }, unknown>; remove: import("@tanstack/react-query").UseMutationResult<{ success: boolean; }, Error, string, unknown>; };