export interface NativeAddonCheck { name: string; status: 'pass' | 'warn' | 'fail'; message: string; fix?: string; } /** Node 24.19.0 up to, but not including, 24.22.0. Re-check this bound when a release ships the fix. */ export declare function isAffectedNodeVersion(version: string): boolean; /** The Node version of the headers a copy was built against, from its config.gypi. */ export declare function headersVersionFromGypi(gypi: string): string | null; /** `better-sqlite3` copies in node_modules next to, or one level under, each ancestor of the start dirs. */ export declare function findBetterSqlite3Copies(startDirs: string[], maxDepth?: number): string[]; export interface NativeAddonCheckDeps { /** Runtime version, default process.versions.node. */ nodeVersion?: string; /** Exact better-sqlite3 package directories to inspect (skips discovery). */ copies?: string[]; /** Directories to walk up from when discovering copies. */ startDirs?: string[]; } /** Read-only: warn when a locally compiled better-sqlite3 was built against Node >= 24.19 headers on an affected runtime. */ export declare function checkNativeAddonHeaders(deps?: NativeAddonCheckDeps): Promise; //# sourceMappingURL=doctor-native-addon.d.ts.map