/**
 * Native addon loader with graceful fallback to WASM.
 *
 * Tries to load the platform-specific napi-rs binary built from
 * crates/codegraph-core.  If unavailable the caller should fall back
 * to the existing WASM pipeline.
 */
import type { NativeAddon } from '../types.js';
/**
 * Try to load the native napi addon.
 * Returns the module on success, null on failure.
 */
export declare function loadNative(): NativeAddon | null;
/**
 * Check whether the native engine is available on this platform.
 */
export declare function isNativeAvailable(): boolean;
/**
 * Read the version from the platform-specific npm package.json.
 * Returns null if the package is not installed or has no version.
 */
export declare function getNativePackageVersion(): string | null;
/**
 * Return the native module or throw if not available.
 */
export declare function getNative(): NativeAddon;
//# sourceMappingURL=native.d.ts.map