"use strict";
/**
 * Database operations barrel file
 * Re-exports all public database functions from sub-modules.
 *
 * Issue #479: db.ts split into worktree-db, chat-db, session-db, memo-db, init-db
 * Barrel file maintains backward compatibility for all existing import paths.
 *
 * Note: export * is intentionally avoided (D4-001) to prevent
 * @internal functions from being unintentionally exposed.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.reorderMemos = exports.deleteMemo = exports.updateMemo = exports.createMemo = exports.getMemoById = exports.getMemosByWorktreeId = exports.deleteSessionState = exports.clearInProgressMessageId = exports.setInProgressMessageId = exports.updateSessionState = exports.getSessionState = exports.ACTIVE_FILTER = exports.markPendingPromptsAsAnswered = exports.updatePromptData = exports.getMessageById = exports.clearLastUserMessage = exports.updateLastUserMessage = exports.deleteMessagesByCliTool = exports.deleteMessageById = exports.deleteAllMessages = exports.getLastMessage = exports.getLastUserMessage = exports.getMessages = exports.updateMessageContent = exports.createMessage = exports.getLastAssistantMessageAt = exports.deleteWorktreesByIds = exports.deleteRepositoryWorktrees = exports.getWorktreeIdsByRepository = exports.getInitialBranch = exports.saveInitialBranch = exports.updateVibeLocalContextWindow = exports.updateVibeLocalModel = exports.updateSelectedAgents = exports.updateCliToolId = exports.updateStatus = exports.updateFavorite = exports.updateLastViewedAt = exports.updateWorktreeLink = exports.updateWorktreeDescription = exports.upsertWorktree = exports.getWorktreeById = exports.getRepositories = exports.getWorktrees = exports.initDatabase = void 0;
// init-db
var init_db_1 = require("./init-db");
Object.defineProperty(exports, "initDatabase", { enumerable: true, get: function () { return init_db_1.initDatabase; } });
// worktree-db
var worktree_db_1 = require("./worktree-db");
Object.defineProperty(exports, "getWorktrees", { enumerable: true, get: function () { return worktree_db_1.getWorktrees; } });
Object.defineProperty(exports, "getRepositories", { enumerable: true, get: function () { return worktree_db_1.getRepositories; } });
Object.defineProperty(exports, "getWorktreeById", { enumerable: true, get: function () { return worktree_db_1.getWorktreeById; } });
Object.defineProperty(exports, "upsertWorktree", { enumerable: true, get: function () { return worktree_db_1.upsertWorktree; } });
Object.defineProperty(exports, "updateWorktreeDescription", { enumerable: true, get: function () { return worktree_db_1.updateWorktreeDescription; } });
Object.defineProperty(exports, "updateWorktreeLink", { enumerable: true, get: function () { return worktree_db_1.updateWorktreeLink; } });
Object.defineProperty(exports, "updateLastViewedAt", { enumerable: true, get: function () { return worktree_db_1.updateLastViewedAt; } });
Object.defineProperty(exports, "updateFavorite", { enumerable: true, get: function () { return worktree_db_1.updateFavorite; } });
Object.defineProperty(exports, "updateStatus", { enumerable: true, get: function () { return worktree_db_1.updateStatus; } });
Object.defineProperty(exports, "updateCliToolId", { enumerable: true, get: function () { return worktree_db_1.updateCliToolId; } });
Object.defineProperty(exports, "updateSelectedAgents", { enumerable: true, get: function () { return worktree_db_1.updateSelectedAgents; } });
Object.defineProperty(exports, "updateVibeLocalModel", { enumerable: true, get: function () { return worktree_db_1.updateVibeLocalModel; } });
Object.defineProperty(exports, "updateVibeLocalContextWindow", { enumerable: true, get: function () { return worktree_db_1.updateVibeLocalContextWindow; } });
Object.defineProperty(exports, "saveInitialBranch", { enumerable: true, get: function () { return worktree_db_1.saveInitialBranch; } });
Object.defineProperty(exports, "getInitialBranch", { enumerable: true, get: function () { return worktree_db_1.getInitialBranch; } });
Object.defineProperty(exports, "getWorktreeIdsByRepository", { enumerable: true, get: function () { return worktree_db_1.getWorktreeIdsByRepository; } });
Object.defineProperty(exports, "deleteRepositoryWorktrees", { enumerable: true, get: function () { return worktree_db_1.deleteRepositoryWorktrees; } });
Object.defineProperty(exports, "deleteWorktreesByIds", { enumerable: true, get: function () { return worktree_db_1.deleteWorktreesByIds; } });
// chat-db
var chat_db_1 = require("./chat-db");
Object.defineProperty(exports, "getLastAssistantMessageAt", { enumerable: true, get: function () { return chat_db_1.getLastAssistantMessageAt; } });
Object.defineProperty(exports, "createMessage", { enumerable: true, get: function () { return chat_db_1.createMessage; } });
Object.defineProperty(exports, "updateMessageContent", { enumerable: true, get: function () { return chat_db_1.updateMessageContent; } });
Object.defineProperty(exports, "getMessages", { enumerable: true, get: function () { return chat_db_1.getMessages; } });
Object.defineProperty(exports, "getLastUserMessage", { enumerable: true, get: function () { return chat_db_1.getLastUserMessage; } });
Object.defineProperty(exports, "getLastMessage", { enumerable: true, get: function () { return chat_db_1.getLastMessage; } });
Object.defineProperty(exports, "deleteAllMessages", { enumerable: true, get: function () { return chat_db_1.deleteAllMessages; } });
Object.defineProperty(exports, "deleteMessageById", { enumerable: true, get: function () { return chat_db_1.deleteMessageById; } });
Object.defineProperty(exports, "deleteMessagesByCliTool", { enumerable: true, get: function () { return chat_db_1.deleteMessagesByCliTool; } });
Object.defineProperty(exports, "updateLastUserMessage", { enumerable: true, get: function () { return chat_db_1.updateLastUserMessage; } });
Object.defineProperty(exports, "clearLastUserMessage", { enumerable: true, get: function () { return chat_db_1.clearLastUserMessage; } });
Object.defineProperty(exports, "getMessageById", { enumerable: true, get: function () { return chat_db_1.getMessageById; } });
Object.defineProperty(exports, "updatePromptData", { enumerable: true, get: function () { return chat_db_1.updatePromptData; } });
Object.defineProperty(exports, "markPendingPromptsAsAnswered", { enumerable: true, get: function () { return chat_db_1.markPendingPromptsAsAnswered; } });
Object.defineProperty(exports, "ACTIVE_FILTER", { enumerable: true, get: function () { return chat_db_1.ACTIVE_FILTER; } });
// session-db
var session_db_1 = require("./session-db");
Object.defineProperty(exports, "getSessionState", { enumerable: true, get: function () { return session_db_1.getSessionState; } });
Object.defineProperty(exports, "updateSessionState", { enumerable: true, get: function () { return session_db_1.updateSessionState; } });
Object.defineProperty(exports, "setInProgressMessageId", { enumerable: true, get: function () { return session_db_1.setInProgressMessageId; } });
Object.defineProperty(exports, "clearInProgressMessageId", { enumerable: true, get: function () { return session_db_1.clearInProgressMessageId; } });
Object.defineProperty(exports, "deleteSessionState", { enumerable: true, get: function () { return session_db_1.deleteSessionState; } });
// memo-db
var memo_db_1 = require("./memo-db");
Object.defineProperty(exports, "getMemosByWorktreeId", { enumerable: true, get: function () { return memo_db_1.getMemosByWorktreeId; } });
Object.defineProperty(exports, "getMemoById", { enumerable: true, get: function () { return memo_db_1.getMemoById; } });
Object.defineProperty(exports, "createMemo", { enumerable: true, get: function () { return memo_db_1.createMemo; } });
Object.defineProperty(exports, "updateMemo", { enumerable: true, get: function () { return memo_db_1.updateMemo; } });
Object.defineProperty(exports, "deleteMemo", { enumerable: true, get: function () { return memo_db_1.deleteMemo; } });
Object.defineProperty(exports, "reorderMemos", { enumerable: true, get: function () { return memo_db_1.reorderMemos; } });
