import type { OneTapSuccessData } from '../specs/nitro-google-signin.nitro'; export type GoogleSignInButtonSignInBehavior = /** * Credential Manager bottom sheet: `signIn()` then `createAccount()` if needed. * Recommended for the native Sign in with Google button. */ 'credentialManager' /** * Android: `GetSignInWithGoogleOption` dialog (all accounts, add account). * iOS: same interactive flow as `createAccount()`. */ | 'buttonFlow' | 'none'; export type UseGoogleSignInFromButtonOptions = { behavior?: GoogleSignInButtonSignInBehavior; onSuccess?: (data: OneTapSuccessData) => void; onError?: (error: unknown) => void; /** Runs before the native sign-in call (e.g. analytics). */ onPress?: () => void | Promise; }; export declare function useGoogleSignInFromButton(options?: UseGoogleSignInFromButtonOptions): { loading: boolean; onPress: () => Promise; }; //# sourceMappingURL=useGoogleSignInFromButton.d.ts.map