import { type Compiler } from '@rspack/core'; import { type EmittedCompilation, type EmittedModule } from '../../../lib/emitted-evidence.js'; import type { DevOptions } from '../../../types.js'; export declare const WASM_PAGES_POLICY = "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"; export declare function policyRunsWebAssembly(manifest: unknown, browser: string): boolean; export declare function findRemoteWebAssemblyAddresses(text: string): string[]; interface SourceCompilation extends EmittedCompilation { modules?: Iterable; } export declare function sourceFileOf(compilation: SourceCompilation, address: string, projectPath: string): string | undefined; export declare class WarnWebAssembly { static readonly name: string; private readonly browser; private reported; constructor(options: { browser: DevOptions['browser']; }); private isNew; private warn; private reportPolicy; private reportRemote; apply(compiler: Compiler): void; } export {};