diff --git a/src/llama-mmap.h b/src/llama-mmap.h
--- a/llama.cpp/src/llama-mmap.h
+++ b/llama.cpp/src/llama-mmap.h
@@ -35,6 +35,11 @@ struct llama_file {
 
     size_t read_alignment() const;
     bool has_direct_io() const;
+
+    // [llamafile] Check if file has pre-mapped content (for bundled zip assets)
+    bool has_premapped_content() const;
+    void * premapped_content() const;
+    void * get_llamafile() const; // Returns llamafile* for reference counting
 private:
     struct impl;
     std::unique_ptr<impl> pimpl;
