import type { SignInWithSocialRedirectParams } from './signInWithSocialRedirect.types';
export type { SignInWithSocialRedirectParams } from './signInWithSocialRedirect.types';
/**
 * Initiates social authentication by redirecting to the OAuth provider.
 *
 * This function redirects the user to the specified social provider's
 * authorization page to complete the OAuth authentication flow.
 * After the flow is complete, the user is redirected back to your app.
 * Call `detectSocialRedirectUrl` to check whether the user was redirected
 * back because of this flow, then call `completeSocialRedirect` to finish
 * the social authentication.
 *
 * @example
 * ```ts
 * await signInWithSocialRedirect({
 *   provider: 'google',
 *   redirectUrl: window.location.href,
 * });
 * ```
 *
 * @param params.provider - The social provider to authenticate with (e.g., 'google', 'github').
 * @param params.redirectUrl - The URL to redirect back to after authentication.
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @see completeSocialRedirect
 * @see detectSocialRedirectUrl
 * @instrumented
 */
export declare const signInWithSocialRedirect: ({ provider, redirectUrl }: SignInWithSocialRedirectParams, client?: import("../../../../../exports").DynamicClient) => Promise<void>;
//# sourceMappingURL=signInWithSocialRedirect.d.ts.map