/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Kit, NodeHandlerContext, Outcome, Sandbox } from "@breadboard-ai/types"; export { addSandboxedRunModule }; /** * This is likely too limiting and crude for the long term, but it works well * for the specific use case we need right now. * * In the future, I am imagining something like a capability attenuator, which * allows tuning capabilities for each invoked module, including module * invocation itself. */ type RunModuleInvocationFilter = (context: NodeHandlerContext) => Outcome; declare function addSandboxedRunModule(sandbox: Sandbox, kits: Kit[], invocationFilter?: RunModuleInvocationFilter): Kit[]; //# sourceMappingURL=sandboxed-run-module.d.ts.map