import type { ApiErrorResponse, ApiResponse } from '../../../../types/index.ts';
import type { App } from "@calcom/types/App";
export type UseGetOauthAuthUrlProps = {
    returnTo?: string;
    onErrorReturnTo?: string;
    teamId?: number;
};
export declare const useGetZoomOauthAuthUrl: ({ returnTo, onErrorReturnTo, teamId }: UseGetOauthAuthUrlProps) => import("@tanstack/react-query").UseQueryResult<string, Error>;
export declare const useOffice365GetOauthAuthUrl: ({ returnTo, onErrorReturnTo, teamId, }: UseGetOauthAuthUrlProps) => import("@tanstack/react-query").UseQueryResult<string, Error>;
export type UseConnectGoogleMeetProps = {
    onSuccess?: (res: ApiResponse) => void;
    onError?: (err: ApiErrorResponse) => void;
    returnTo?: string;
    onErrorReturnTo?: string;
    teamId?: number;
};
export declare const useConnectNonOauthApp: ({ onSuccess, onError, teamId, returnTo, onErrorReturnTo }?: UseConnectGoogleMeetProps) => import("@tanstack/react-query").UseMutationResult<{
    status: any;
}, ApiErrorResponse, string, unknown>;
export declare const useConnect: (props: UseConnectGoogleMeetProps) => {
    connect: (app: App["slug"]) => Promise<void>;
};
//# sourceMappingURL=useConnect.d.ts.map