import type { WasmDetectionResult, WasmPackageJson, WasmTarget } from '../../types/index.js';
/**
 * Check package.json for WASM-related dependencies and scripts.
 * Returns tools and targets detectable from Node/browser context.
 */
export declare function detectWasmFromPackageJson(pkg: WasmPackageJson): {
    tools: string[];
    targets: WasmTarget[];
};
/**
 * Check Cargo.toml for wasm-bindgen dependency.
 * Indicates Rust WASM compilation.
 */
export declare function detectWasmFromCargoToml(content: string): {
    tools: string[];
    targets: WasmTarget[];
};
/**
 * Detect WebAssembly compilation targets and toolchain in a project.
 *
 * Checks:
 * - package.json: @assemblyscript/loader, assemblyscript, wasm-pack, emscripten in scripts
 * - Cargo.toml: wasm-bindgen, wasm-pack, wasi targets
 */
export declare function detectWasm(projectPath: string): Promise<WasmDetectionResult>;
//# sourceMappingURL=wasm-detector.d.ts.map