import type { FileSystem } from '../types/filesystem.js'; import type { Shell } from '../types/shell.js'; import type { AgentWorkspaceConfig, AgentWorkspaceResolverContext } from '../types/agentConfig.js'; export interface ResolvedAgentWorkspace { fs: FileSystem; shell?: Shell; readOnly: boolean; modelWritable: boolean; instructions?: string; } export declare function resolveAgentWorkspace(workspace: AgentWorkspaceConfig | undefined): ResolvedAgentWorkspace | undefined; /** Resolve static and request-scoped workspaces through one runtime entrypoint. */ export declare function resolveAgentWorkspaceForSession(workspace: AgentWorkspaceConfig | undefined, context: AgentWorkspaceResolverContext): Promise;