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