import { TaskFeildsType } from "../definitions"; import { TasksStore } from "../definitions"; type Task = TaskFeildsType; type CalendarTaskContextProviderPropsType = { children: React.ReactNode; timeZone?: string; hashScope?: "week" | "group" | "day"; }; type CalendarTaskContextType = { tasks: TasksStore; addTask: (task: Task) => void; getTasks: (hash: string) => Task[]; updateTask: (hash: string, taskId: string, updatedTask: Partial) => void; deleteTask: (hash: string, taskId: string) => void; cleanExpiredTasks: () => void; cleanExpiredTasksByHash: (hash: string) => void; isValidTask: (task: Task) => boolean; getTask: (hash: string, taskId: string) => TaskFeildsType | undefined; hashScope?: "week" | "group" | "day"; }; export declare const CalendarTaskContextProvider: ({ children, hashScope }: CalendarTaskContextProviderPropsType) => import("react/jsx-runtime").JSX.Element; export declare const useCalendarTaskContext: () => CalendarTaskContextType; export default CalendarTaskContextProvider;