import { ReactNode, SyntheticEvent } from 'react'; import { useAuth } from '../../../compat/better-auth/react.js'; import { AthenaAuthUiOptions, useResolvedAuthUiOptions } from '../core/ui-options.js'; import { resolveAuthPluginButtons } from './use-auth-plugin-buttons.js'; import { useAuthProviders } from './use-auth-providers.js'; export interface SignInControllerOptions { id?: string; ui?: AthenaAuthUiOptions; } export interface SignInController { captcha: ReactNode; classNames: NonNullable["classNames"]>["signIn"]; emailAndPassword: ReturnType["emailAndPassword"]; forgotPasswordHref: string; forgotPasswordLinkLabel: ReactNode; form: { password: string; setPassword: (value: string) => void; }; hasVisibleSocialProviders: boolean; localization: ReturnType["localization"]; logo: ReactNode; pending: boolean; pluginButtons: ReturnType; providers: ReturnType; resolvedUi: ReturnType; routes: { afterSignIn: string; callbackURL: string; forgotPassword: string; signUp: string; }; separatorLabel: ReactNode; signInEmailPending: boolean; signUpHref: string; signUpLinkLabel: ReactNode; signUpPrompt: ReactNode; submit: (event: SyntheticEvent) => void; submitLabel: ReactNode; title: ReactNode; traceId: string; } export declare function useSignInController({ id, ui }?: SignInControllerOptions): SignInController;