/**
 * Memory Safety Scanner
 *
 * Detects memory corruption vulnerabilities in C/C++/Rust unsafe code.
 *
 * Vulnerability types:
 * - Buffer overflow (CWE-120, CWE-787)
 * - Use-after-free (CWE-416)
 * - Double free (CWE-415)
 * - Null dereference (CWE-476)
 * - Uninitialized memory (CWE-908)
 * - Format string vulnerabilities (CWE-134)
 *
 * Tools:
 * - cppcheck for C/C++
 * - cargo-geiger for Rust unsafe code audit
 * - Pattern matching for dangerous function calls
 */
import type { ScannerResult } from "./types.js";
interface LanguageDetection {
    cpp: boolean;
    rust: boolean;
    nodeNative: boolean;
}
/**
 * Check if cppcheck is available
 */
export declare function checkCppcheckAvailable(): Promise<boolean>;
/**
 * Check if cargo-geiger is available
 */
export declare function checkCargoGeigerAvailable(): Promise<boolean>;
/**
 * Detect languages that may have memory safety issues
 */
export declare function detectUnsafeLanguages(projectPath: string): Promise<LanguageDetection>;
/**
 * Main entry point: Run memory safety analysis on a project
 */
export declare function runMemorySafetyAnalysis(projectPath: string, options?: {
    timeout?: number;
}): Promise<ScannerResult>;
export {};
//# sourceMappingURL=memory-safety.d.ts.map