import React, { ComponentProps } from 'react'; import { NylasScheduling } from '@nylas/react'; type CalendarBookingsContextProps = { setBookingError: (errorString: string) => void; onTimeSlotConfirmed: () => Promise; themeConfig: ComponentProps['themeConfig']; }; export declare function CalendarBookingsProvider({ children, refreshNylasState, }: { children: React.ReactNode; refreshNylasState: () => void; }): import("react/jsx-runtime").JSX.Element; export default function useCalendarBookings(): CalendarBookingsContextProps; export {};