import { FC } from 'react'; /** * Throws when a legacy Turnkey embedded wallet (V1/V2) is detected but * `LegacyWalletMigrationProvider` is not mounted by the consumer. * * Legacy wallets have no supported runtime path without the migration provider, * so letting the app continue would strand the user with a non-functional wallet. * The error is thrown from inside `useEffect`, so consumers can catch it via a * React `ErrorBoundary` (or surface it through their monitoring stack) and render * an appropriate "please migrate" UI. */ export declare const useEnforceLegacyMigrationProvider: () => void; /** * Renders nothing, but runs `useEnforceLegacyMigrationProvider` from inside * the DynamicContext tree so the underlying `useInternalDynamicContext` can * resolve. Mounted from `DynamicContext` itself. */ export declare const EnforceLegacyMigrationProvider: FC;