import { IRoomstayEvent } from '@roomstay/core';
import { IRoomstayMemberBookingItemWithRefAndHotelDetails } from '../contexts';
interface ICachedEvents {
    expired: number;
    events: IRoomstayEvent[];
}
declare const write: (hotelId: string, unixStartDate: number, value: ICachedEvents) => Promise<void>;
declare const read: (hotelId: string, unixStartDate: number) => ICachedEvents | null | undefined;
declare const getValidEvents: (events: IRoomstayEvent[]) => IRoomstayEvent[];
declare const getApplicableEvents: (events: IRoomstayEvent[], { checkInDate, checkInTime, checkOutDate, checkOutTime, }: {
    checkInDate: string;
    checkInTime: string;
    checkOutDate: string;
    checkOutTime: string;
}) => IRoomstayEvent[];
declare const isCancelledBooking: (booking: Pick<IRoomstayMemberBookingItemWithRefAndHotelDetails, "status">) => boolean;
declare const isPastBooking: (booking: Pick<IRoomstayMemberBookingItemWithRefAndHotelDetails, "checkOutDate">) => boolean;
declare const isCachedEventValid: (cachedEvents: ICachedEvents) => boolean;
export { getApplicableEvents, getValidEvents, ICachedEvents, isCachedEventValid, isCancelledBooking, isPastBooking, read, write };
