/** * Implementation feature detection — CLI wrapper over @poa-box/core/version. * * Everything (selector math, EIP-1967 slot walk, bytecode scan, the * known-implementation feature table, legacy fragments) lives in core. The one * CLI binding: detectTaskManagerFeatures injects this process's GraphClient so * the subgraph beacon shortcut keeps working without every call site having to * pass one. The local export shadows the star re-export per ES module rules. */ import { ethers } from 'ethers'; import type { DetectFeaturesOptions, TaskManagerFeatures } from '@poa-box/core/version'; export * from '@poa-box/core/version'; /** * Probe a TaskManager proxy's implementation for feature selectors. * See @poa-box/core/version for resolution order and caching. The CLI injects the * beacon-snapshot fetcher from its own queries/beacons module (the seam tests * mock) unless the caller supplied a client/fetcher or asked to skip the * subgraph. */ export declare function detectTaskManagerFeatures(provider: ethers.providers.Provider, proxy: string, chainId?: number, opts?: DetectFeaturesOptions): Promise;