/** * Admin-side: preview the collection plan for a booking before initiating. * Returns what the operator will collect (deposit / balance / custom amount), * which schedule or invoice the session will target, and which method is * about to be used. Useful for an "About to charge X" confirmation step. */ export declare function usePreviewCheckoutCollection(bookingId: string): import("@tanstack/react-query").UseMutationResult<{ bookingId: string; method: "bank_transfer" | "card"; stage: "manual" | "initial" | "reminder"; paymentSessionTarget: "invoice" | "schedule" | null; documentType: "invoice" | "proforma" | null; willCreateDefaultPaymentPlan: boolean; selectedSchedule: { id: string; bookingId: string; bookingItemId: string | null; scheduleType: string; status: string; dueDate: string; currency: string; amountCents: number; notes: string | null; } | null; selectedInvoice: { id: string; invoiceNumber: string; invoiceType: string; bookingId: string; personId: string | null; organizationId: string | null; status: string; currency: string; totalCents: number; paidCents: number; balanceDueCents: number; issueDate: string; dueDate: string; notes: string | null; createdAt: string; updatedAt: string; } | null; amountCents: number; currency: string; recommendedAction: "none" | "create_bank_transfer_document" | "create_payment_session" | "create_invoice_then_payment_session"; }, Error, { method: "bank_transfer" | "card"; stage: "manual" | "initial" | "reminder"; ensureDefaultPaymentPlan: boolean; scheduleId?: string | undefined; invoiceId?: string | undefined; amountCents?: number | undefined; paymentSessionTarget?: "invoice" | "schedule" | undefined; paymentPlan?: { depositMode?: "percentage" | "none" | "fixed_amount" | undefined; depositValue?: number | undefined; depositDueDate?: string | null | undefined; balanceDueDaysBeforeStart?: number | undefined; clearExistingPending?: boolean | undefined; createGuarantee?: boolean | undefined; guaranteeType?: "credit_card" | "other" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined; notes?: string | null | undefined; } | undefined; } | undefined, unknown>;