import type { AuthViewProps } from './AuthView.types'; /** * A pre-built native authentication component that handles sign-in and sign-up flows. * * `AuthView` renders inline within your React Native view hierarchy, powered by: * - **iOS**: clerk-ios (SwiftUI) - https://github.com/clerk/clerk-ios * - **Android**: clerk-android (Jetpack Compose) - https://github.com/clerk/clerk-android * * After authentication completes, the session is automatically synced with the JS SDK. * Use `useAuth()`, `useUser()`, or `useSession()` to react to authentication * state changes. * * To push the auth flow onto your own navigation stack, hide the route's header and * pass `onHostBack` so Clerk's own chrome takes over. * * @example * ```tsx * import { AuthView } from '@clerk/expo/native-components'; * import { useAuth } from '@clerk/expo'; * * export default function SignInScreen() { * const { isSignedIn } = useAuth(); * * useEffect(() => { * if (isSignedIn) router.replace('/home'); * }, [isSignedIn]); * * return ; * } * ``` * * @see {@link https://clerk.com/docs/components/authentication/sign-in} Clerk Sign-In Documentation */ export declare function AuthView({ logo, mode, isDismissible, logoMaxHeight, onDismiss, onHostBack, }: AuthViewProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=AuthView.d.ts.map