import type { ApiErrorResponse, ApiResponse } from '../../../types/index.ts';
interface IUseUpdateDestinationCalendars {
    onSuccess?: (res: ApiResponse) => void;
    onError?: (err: ApiErrorResponse | Error) => void;
}
export declare const useUpdateDestinationCalendars: ({ onSuccess, onError }?: IUseUpdateDestinationCalendars) => import("@tanstack/react-query").UseMutationResult<ApiErrorResponse | import('../../../types/index.ts').ApiSuccessResponse<{
    status: string;
    data: {
        userId: number;
        integration: string;
        externalId: string;
        credentialId: number | null;
    };
}>, unknown, {
    integration: string;
    externalId: string;
}, unknown>;
export {};
//# sourceMappingURL=useUpdateDestinationCalendars.d.ts.map