import type { CALENDARS } from '../../../constants/index.ts';
import type { ApiErrorResponse, ApiResponse } from '../../../types/index.ts';
interface IUseDeleteCalendarCredentials {
    onSuccess?: (res: ApiResponse) => void;
    onError?: (err: ApiErrorResponse | Error) => void;
}
export declare const useDeleteCalendarCredentials: ({ onSuccess, onError }?: IUseDeleteCalendarCredentials) => import("@tanstack/react-query").UseMutationResult<ApiErrorResponse | import('../../../types/index.ts').ApiSuccessResponse<{
    status: string;
    data: {
        id: number;
        type: string;
        userId: number | null;
        teamId: number | null;
        appId: string | null;
        invalid: boolean | null;
    };
}>, unknown, {
    id: number;
    calendar: (typeof CALENDARS)[number];
}, unknown>;
export {};
//# sourceMappingURL=useDeleteCalendarCredentials.d.ts.map