import type { ApiResponse, ApiErrorResponse } from '../../../types/index.ts';
interface IUseDeleteScheduleProps {
    onSuccess?: (res: ApiResponse) => void;
    onError?: (err: ApiErrorResponse) => void;
}
type DeleteScheduleInput = {
    id: number;
};
declare const useDeleteSchedule: ({ onSuccess, onError }?: IUseDeleteScheduleProps) => import("@tanstack/react-query").UseMutationResult<ApiErrorResponse | import('../../../types/index.ts').ApiSuccessResponseWithoutData, unknown, DeleteScheduleInput, unknown>;
export default useDeleteSchedule;
//# sourceMappingURL=useDeleteSchedule.d.ts.map