/** * Per-session markdown workspace override (stored in SessionAgentConfig). */ import type { Config } from '../config/schema.js'; import type { Project } from '../projects/types.js'; import type { SessionAgentConfig } from './config-types.js'; /** * Normalize user input for `workingDirectoryOverride`. Rejects empty and filesystem roots. */ export declare function normalizeWorkingDirectoryInput(raw: string): { ok: true; path: string; } | { ok: false; error: string; }; export declare function projectWorkspacePath(project: Pick | null | undefined): string | null; /** * Resolved markdown workspace for tools/shell: project workspace, session override, or merged agent profile default. */ export declare function effectiveWorkspacePathForSession(cfg: Config, sessionKey: string, sessionAgentConfig: SessionAgentConfig | null | undefined, project?: Pick | null): string;