import { signIn } from "next-auth/react";
import type { ReactNode } from "react";
import type { getProviderMetadata } from "../../../authjs/utils/config.js";
import "./index.css";
export type SignInButtonOptions = {
/**
* Icon to display on the button
*
* @default
* ```tsx
*
* ```
*/
icon?: ReactNode | ((provider: ReturnType) => ReactNode);
/**
* Text to display on the button
*
* @default
* ```tsx
* <>Sign in with {provider.name}>
* ```
*/
text?: ReactNode | ((provider: ReturnType) => ReactNode);
};
export type SignInButtonProps = {
provider: ReturnType;
icon?: ReactNode;
text?: ReactNode;
signInFn?: typeof signIn;
};
/**
* A button on the sign in page to sign in with a Auth.js provider
*/
export declare const SignInButton: ({ provider, icon, text, signInFn, }: SignInButtonProps) => import("react").JSX.Element;