/**
* React hook for passkey (WebAuthn) authentication in React Native apps.
*
* This hook provides a simple interface for signing up and logging in with passkeys,
* using the device's biometric authentication (FaceID/TouchID/fingerprint).
*
* **Requirements:**
* - Install `react-native-passkey` as a peer dependency
* - Configure your app's associated domains (iOS) and asset links (Android)
* - Passkeys require HTTPS domain verification
*
* @example
* ```tsx
* import { usePasskeyAuth } from "jazz-tools/react-native-core";
*
* function AuthScreen() {
* const auth = usePasskeyAuth({
* appName: "My App",
* rpId: "myapp.com",
* });
*
* if (auth.state === "signedIn") {
* return ;
* }
*
* return (
*
*
* );
* }
* ```
*
* @param options.appName - The display name of your app shown during passkey prompts
* @param options.rpId - The relying party ID (your app's domain, e.g., "myapp.com")
*
* @category Auth Providers
*/
export declare function usePasskeyAuth({ appName, rpId, }: {
appName: string;
rpId: string;
}): {
readonly state: "anonymous" | "signedIn";
readonly logIn: () => Promise;
readonly signUp: (username: string) => Promise;
};
//# sourceMappingURL=usePasskeyAuth.d.ts.map