/** * Wraps a wagmi connect initiated through funkit UI so the adoption guard * doesn't evict the resulting connection. */ export declare function withUserInitiatedConnection(connectorUid: string, connect: () => Promise): Promise; /** * Evicts wallet-initiated wagmi connections while adoption mode is on. * * - wagmi's injected connectors listen to provider events from config * creation, so a previously-authorized extension connects itself (and * becomes current) when it announces accounts — e.g. on unlock. That path * bypasses both `storage: null` and `reconnectOnMount={false}`. * - Eviction goes through wagmi's store, not connector.disconnect(): the * latter revokes the extension's page-level permission, signing the user's * other wallet out of the host site. */ export declare function useAdoptionConnectionGuard(adoptedConnectorId: string): void;