// app_api.h - Lua API bindings for app management
// Milestone 10: Device-Side App Management
#pragma once

#include <string>

struct lua_State;

namespace mosis {

class AppManager;
class UpdateService;

// Register Lua APIs for app management
// - mosis.apps.* - System apps only (App Store, Settings)
// - mosis.app.* - All apps (info about current app)
void RegisterAppAPIs(lua_State* L,
                     AppManager* app_manager,
                     UpdateService* update_service,
                     const std::string& current_app_id,
                     bool is_system_app);

} // namespace mosis
