import { ICancellationPolicy } from '../schemas/cancellationPolicy'; import { IReservation } from '../schemas/reservation'; import { IService } from '../schemas/service'; /** * Find the appropriate cancellation policy from a reservation for a given `atDate` * @param reservation the reservation to use * @param service the service in picture * @param atDate the date for which we want to find the cancellation policy */ export declare function getCancellationPolicy(reservation: IReservation, service: IService, atDate?: Date): ICancellationPolicy | undefined; export declare function calculateCancellationCharge(cancellationPolicy: ICancellationPolicy, paidServicePrice: number): number; //# sourceMappingURL=reservation.d.ts.map