import type { MAMAConfig } from '../cli/config/types.js'; import { type ClineCLIAdapterOptions } from './cline-cli-adapter.js'; import type { ClaudeCLIWrapperOptions } from './claude-cli-wrapper.js'; import type { IModelRunner } from './model-runner.js'; import { type CodexRuntimeProcessOptions } from '../multi-agent/runtime-process.js'; export interface BackendModelRunnerOptions { sessionId?: string; model?: string; systemPrompt?: string; cwd?: string; timeoutMs?: number; allowedTools?: string[]; disallowedTools?: string[]; disableNativeTools?: boolean; } export interface BackendModelRunnerFactories { createClaude?: (options: ClaudeCLIWrapperOptions) => IModelRunner; createCodex?: (options: CodexRuntimeProcessOptions) => IModelRunner; createCline?: (options: ClineCLIAdapterOptions) => IModelRunner; } export declare function resolveCodexAuxiliarySandbox(allowedTools: readonly string[] | undefined, disallowedTools: readonly string[] | undefined): 'read-only'; /** * Construct one isolated model runner from the configured primary backend. * Auxiliary runtime paths must use this factory instead of silently requiring Claude. */ export declare function createBackendModelRunner(config: MAMAConfig, options?: BackendModelRunnerOptions, factories?: BackendModelRunnerFactories): IModelRunner; //# sourceMappingURL=backend-model-runner-factory.d.ts.map