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