import type { CalendarAreaProps } from './types';
import type { BaseResource } from '../../pages/types';
import type { ApiSearchParams } from '../../templates/IndexPage/types';
export declare const getDateStr: (date: Date) => string;
export declare const useCalendar:
(props: Pick, "resources" | "year" | "month" | "calendarOptions" | "getResourceDate">) => {
showingYear: number;
showingMonth: number;
startDayOfWeek: "sunday" | "monday";
weekendDisplay: "hide" | "show" | "hideOnMobile";
enableOutsideDays: boolean | undefined;
downplayPastDays: boolean | undefined;
calendarStartDate: Date;
calendarEndDate: Date;
daysBetweenStartAndEnd: number;
changeMonth: (year: number, month: number) => void;
weeks: Date[][];
resourcesByDate: Record | undefined;
resourcesStartDate: Date;
resourcesEndDate: Date;
};