/** Resolve the only directory Gateway-created sessions may own. */ export declare function resolveMessagingWorkspaceDir(workspaceDir: string | undefined, dshHome?: string): string; /** New sessions are isolated per platform unless the user explicitly chooses a shared absolute directory. */ export declare function resolvePlatformWorkspaceDir(platform: string, platformWorkspaceDir: string | undefined, legacyWorkspaceDir: string | undefined, dshHome?: string): string; /** Existing sessions remain in their own workspace unless their cwd is the Gateway directory. */ export declare function isMessagingWorkspaceCwd(cwd: string, workspaceDir: string): boolean;