import type { BookingResolvedPayment, BookingService, BookingSlot } from './booking-types'; export declare function resolveServicePayment(service: BookingService): BookingResolvedPayment | undefined; /** * What one service shows in the service picker, before translation. * * `price` is the chip at the row's end: the service's price, as for every * service. It is `priceLabel`; with none, a full payment's amount, since that * IS the price; a deposit is never the price, so then there is no chip. * * `payment` is the line under the service name: the payment the service * requires, or 'unavailable' when its payment data cannot be charged. */ export interface ServicePickerParts { price?: { label: string; } | { amount: BookingResolvedPayment; }; payment?: BookingResolvedPayment | 'unavailable'; } export declare function servicePickerParts(service: BookingService): ServicePickerParts; /** Selected services are search alternatives, never a shopping basket. */ export declare function resolveBookingPayment(services: BookingService[], serviceIds: string[], slot?: BookingSlot): { payment?: BookingResolvedPayment; blocked: boolean; }; export declare function paymentIdentity(payment?: BookingResolvedPayment): string; //# sourceMappingURL=payment.d.ts.map