import { OAuthProvider, OAuthRedirectResult } from '../extension';
export interface UseOAuthLoginResult {
    performOAuthLogin: (provider: OAuthProvider) => Promise<OAuthRedirectResult>;
    isLoading: boolean;
    error: Error | null;
    isSuccess: boolean;
    result: OAuthRedirectResult | null;
}
export declare function useOAuthLogin(): UseOAuthLoginResult;
