import type { AdapterExecutionContext, AdapterEnvironmentCheck, AdapterRuntimeMcpServer } from "@penclipai/adapter-utils"; import { type AdapterExecutionTarget, type AdapterExecutionTargetShellOptions } from "@penclipai/adapter-utils/execution-target"; export declare function resolveSharedClaudeConfigDir(env?: NodeJS.ProcessEnv): string; export declare function resolveManagedClaudeConfigSeedDir(env: NodeJS.ProcessEnv, companyId?: string): string; export declare function resolveManagedClaudeRuntimeStateDir(env: NodeJS.ProcessEnv, companyId: string, agentId: string): string; export declare function writePaperclipClaudeMcpConfig(input: { stateDir: string; runId: string; servers: AdapterRuntimeMcpServer[]; }): Promise; export declare function prepareClaudeConfigSeed(env: NodeJS.ProcessEnv, onLog: AdapterExecutionContext["onLog"], companyId?: string): Promise; export declare function buildRemoteClaudeConfigMaterializationCommand(input: { remoteClaudeConfigDir: string; remoteClaudeConfigSeedDir: string; }): string; export declare function materializeRemoteClaudeConfig(input: { runId: string; target: AdapterExecutionTarget | null | undefined; remoteClaudeConfigDir: string; remoteClaudeConfigSeedDir: string; options: AdapterExecutionTargetShellOptions; }): Promise; /** * Prepare the sandbox runtime that a Claude hello probe needs. The step * installs the Claude CLI in the sandbox when the CLI is absent, and it * materializes the Paperclip-managed Claude config directory. Both the CLI * Test lane and the ACP Test lane call this helper, so the two lanes probe * the same login state. The Claude CLI and the Claude ACP engine share the * same stored Claude login. * * The function mutates `env`: it sets `CLAUDE_CONFIG_DIR` to the managed * remote config directory when it materializes one. It returns the checks to * add to the Test result. An operator-provided `CLAUDE_CONFIG_DIR` wins, so * the function keeps it and skips the managed materialization. */ export declare function prepareSandboxClaudeProbeRuntime(input: { managedAiConnection?: boolean; runId: string; target: AdapterExecutionTarget | null; cwd: string; companyId?: string; env: Record; installCommand: string; detectCommand: string; targetIsRemote: boolean; targetIsSandbox: boolean; helloProbeTimeoutSec: number; }): Promise; //# sourceMappingURL=claude-config.d.ts.map