import { AmplifyContext } from '@aws-amplify/core'; import '../utils/oauth/enableOAuthListener'; import { SignInWithRedirectInput } from '../types'; export declare function signInWithRedirect(ctx: AmplifyContext, input?: SignInWithRedirectInput): Promise; /** * Signs in a user with OAuth. Redirects the application to an Identity Provider. * * @param input - The SignInWithRedirectInput object, if empty it will redirect to Cognito HostedUI * * @throws AuthTokenConfigException - Thrown when the user pool config is invalid. * @throws OAuthNotConfigureException - Thrown when the oauth config is invalid. */ export declare function signInWithRedirect(input?: SignInWithRedirectInput): Promise;