import { WasmCapabilities } from '../types';
/**
 * Options for creating environment imports
 */
export interface EnvImportsOptions {
    pluginId: string;
    capabilities: WasmCapabilities;
    app?: any;
    memoryRef: {
        current: WebAssembly.Memory | null;
    };
    rawExports: {
        current: any;
    };
    asLoaderInstance: {
        current: any;
    };
    configPath?: string;
    packageName?: string;
}
/**
 * Helper to read UTF-8 strings from WASM memory
 */
export declare function createUtf8Reader(memoryRef: {
    current: WebAssembly.Memory | null;
}): (ptr: number, len: number) => string;
/**
 * Create environment imports for a WASM plugin
 */
export declare function createEnvImports(options: EnvImportsOptions): Record<string, any>;
//# sourceMappingURL=env-imports.d.ts.map