export interface NativeBindingFailure {
    /** The package whose loader failed, e.g. `@nomicfoundation/edr`. */
    parentPackage: string;
    /** The platform package that couldn't be found. */
    missingPackage: string;
}
/**
 * Detect whether a given error is a napi-rs native binding load failure.
 *
 * Packages like `@nomicfoundation/edr` and `@nomicfoundation/solidity-analyzer`
 * ship one prebuilt binary per platform in a separate package, and their
 * generated loader `require`s the one matching the current platform. When that
 * package is missing from the installation the loader throws at import time, so
 * the failure surfaces as an opaque `MODULE_NOT_FOUND` from deep inside
 * `node_modules`.
 */
export declare function detectNativeBindingFailure(error: Error): NativeBindingFailure | undefined;
//# sourceMappingURL=native-binding-error.d.ts.map