import "./wasm_exec"; declare global { var nuruOutputReceiver: (codeOutput: string, isError: boolean) => void; var runCode: (code: string) => void; } type interpreterConfig = { outputReceiver: (output: string, isError: boolean) => void; xssProtection?: boolean; version?: string; }; export type NuruInstance = { config: interpreterConfig; initialized: boolean; execute: typeof execute; }; export declare function registerOutputReceiver(outputEffect: (codeOutput: string, isError: boolean) => void, xssProtection: boolean): void; export declare function execute(code: string): void; export default function init(config: interpreterConfig): Promise; export {};