import { ActivityTimeDto } from "./types"; /** * Converts a string representing a day and month to a Date object. * The expected format for the input string is 'day/month'. * * @param dayAndMonth - The string representing the day and month. * @param year - The year to use for the Date object (default: 2000). * @returns A Date object representing the converted day and month. */ declare function convertToDate(dayAndMonth: string, year?: number): Date; /** * Parses a time string into minutes. * * @param time - The time string to parse (in the format "HH:mm"). * @returns The time in minutes. */ declare function parseTime(time: string): number; /** * Gets the year to use for the end availability date based on the start availability date. * when the end month is earlier than the start month, the end year is set to the next year. * @param activityTime - The activity time to get the year for. * @returns The year to use for the end availability date. */ declare function getEndAvailabilityYear(activityTime: ActivityTimeDto): number; export { parseTime, convertToDate, getEndAvailabilityYear };