export type FabricKernel = "typescript" | "python"; export type FabricSandboxTerminationReason = "completed" | "runtime_error" | "timed_out" | "aborted"; export interface FabricSandboxResult { value: unknown; logs: string[]; terminationReason: FabricSandboxTerminationReason; error?: string; } export interface FabricSandboxOptions { timeoutMs: number; memoryLimitBytes: number; maxLogChars?: number; strings?: Record; tokenBudget?: number; signal?: AbortSignal; cwd?: string; minimumTimeoutMsForHostCall?(ref: string, args: Record): number | undefined; /** Declared core override fields must not be consumed as built-in aliases. */ piToolCanonicalFields?: Record; transpiledCode?: string; transpiledSourceMap?: string; } export type FabricHostCall = (ref: string, args: Record, signal: AbortSignal) => Promise; export interface FabricKernelRuntime { execute(code: string, hostCall: FabricHostCall, options: FabricSandboxOptions): Promise; } //# sourceMappingURL=kernel.d.ts.map