import React from 'react'; import { LOCALE } from "../interfaces/types/Locale"; import { type SSODismissPayload } from "./ssoDismiss"; declare global { interface Array { findLastIndex: Array['findIndex']; } interface String { capitalize: () => string; } } export type SSOV2Props = { /** Host callback when popup closes without SSO navigation (e.g. sync profile). */ onClose?: () => void; /** * User closed SSO without completing auth. * Legacy hosts may omit the payload; new hosts receive `SSODismissPayload`. */ onDismiss?: (payload?: SSODismissPayload) => void; locale?: LOCALE; isMarryBaby?: boolean; }; export declare const SSOV2: ({ onClose: onCloseProps, onDismiss: onDismissProps, locale, isMarryBaby, }: SSOV2Props) => React.JSX.Element; export { useSSOV2Store } from "./ssoStateManager/store"; export type { PhoneAlreadyUsedContext, PhoneAlreadyUsedFlowOptions, PhoneVerifyConflict, PhoneVerifyHostHandlers, } from "./phoneVerifyConflict"; export type { SSODismissPayload, SSODismissReason } from "./ssoDismiss"; export { getURLwithSSOTracking } from "./utils";