/**
 * Per-session markdown workspace override (stored in SessionAgentConfig).
 */
import type { Config } from '../config/schema.js';
import type { SessionAgentConfig } from './config-store.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;
};
/**
 * Resolved markdown workspace for tools/shell: session override or merged agent profile default.
 */
export declare function effectiveWorkspacePathForSession(cfg: Config, sessionKey: string, sessionAgentConfig: SessionAgentConfig | null | undefined): string;
