shareableFilePath

open fun shareableFilePath(root: String, relativePath: String): String?

Absolute filesystem path to a regular file, for local sharing (the Android Compose Share action wraps it in a content:// URI via androidx.core.content.FileProvider). Returns null when unavailable, out of bounds, or a directory. Gated by the same files capability as deleteFile -- unlike previewFile, the bytes a caller ultimately shares are raw and unredacted, the same reasoning the browser download route documents.