import { PayloadAction } from '@reduxjs/toolkit';
import { AppointmentFormType, DoctorProfile } from 'src/lib/types/types';
import { DoctorState } from '../types';
export declare const initialState: DoctorState;
export declare const getDoctorById: import("@reduxjs/toolkit").AsyncThunk<DoctorProfile | undefined, {
    id: string;
    token?: string;
}, {
    state?: unknown;
    dispatch?: import("redux").Dispatch;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const doctorSlice: import("@reduxjs/toolkit").Slice<DoctorState, {
    updateAppointment: (state: import("immer/dist/internal").WritableDraft<DoctorState>, action: PayloadAction<Partial<AppointmentFormType>>) => void;
    setScheduleLoading: (state: import("immer/dist/internal").WritableDraft<DoctorState>, action: PayloadAction<boolean>) => void;
}, "doctor">;
export declare const updateAppointment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<AppointmentFormType>, "doctor/updateAppointment">, setScheduleLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "doctor/setScheduleLoading">;
declare const _default: import("redux").Reducer<DoctorState>;
export default _default;
