import { AppointmentState } from "../types"; export declare const useAppointmentFlow: (state: AppointmentState, dispatch: React.Dispatch, onError?: (error: Error) => void) => { goBack: () => void; handleDateChange: (date: Date) => Promise<(() => void) | undefined>; sendOtp: () => Promise; verifyOtp: () => Promise; submitAppointment: () => Promise; };