import { AppleIDLoginInput, AppleIDLoginResult, AppleRelayResponse } from './index'; export type UseAppleIDLoginOptions = Pick; export type AppleIDLoginStatus = 'idle' | 'authenticating' | 'two-factor-required' | 'authenticated' | 'error'; export type UseAppleIDLoginResult = { status: AppleIDLoginStatus; session?: AppleIDLoginResult; completeResponse?: AppleRelayResponse; twoFactorChallengeResponse?: AppleRelayResponse; error?: string; startLogin: (input: Pick) => Promise; submitTwoFactorCode: (code: string) => Promise; finalize: () => Promise; close: () => Promise; }; export declare function useAppleIDLogin({ limbuildApiUrl, token }: UseAppleIDLoginOptions): UseAppleIDLoginResult;