/**
 * Base storage module with database initialization, migrations, and seeding.
 * This module handles database setup and provides shared utilities.
 */
import Database from 'better-sqlite3';
/**
 * Initialize PMO tables in the database.
 * Runs migrations, creates tables, seeds built-in data, and validates schema.
 */
export declare function initializePMOTables(db: Database.Database): void;
/**
 * Run schema migrations for existing databases.
 */
export declare function runMigrations(db: Database.Database): void;
/**
 * Seed built-in workflows from BUILTIN_TEMPLATES (single source of truth).
 * Creates workflows from template definitions for reuse across projects.
 */
export declare function seedBuiltinWorkflows(db: Database.Database): void;
/**
 * Seed default project phases.
 */
export declare function seedBuiltinPhases(db: Database.Database): void;
/**
 * Seed built-in phase templates.
 */
export declare function seedBuiltinPhaseTemplates(db: Database.Database): void;
/**
 * Seed built-in work actions.
 */
export declare function seedBuiltinActions(db: Database.Database): void;
/**
 * Seed built-in ticket templates.
 */
export declare function seedBuiltinTicketTemplates(db: Database.Database): void;
/**
 * Seed built-in categories from TICKET_CATEGORIES and STATE_CATEGORY_ORDER.
 */
export declare function seedBuiltinCategories(db: Database.Database): void;
/**
 * Seed default priorities if not already set.
 * Preserves any existing user-defined priority scale.
 */
export declare function seedDefaultPriorities(db: Database.Database): void;
/**
 * Seed built-in label groups and labels.
 * Creates Function, Type, and Area groups with their labels.
 * Migrates existing ticket category values to Function labels.
 */
export declare function seedBuiltinLabels(db: Database.Database): void;
/**
 * Update board timestamp for a project.
 */
export declare function updateBoardTimestamp(db: Database.Database, projectId: string): void;
/**
 * Get max position for columns in a project.
 */
export declare function getMaxColumnPosition(db: Database.Database, projectId: string): number;
/**
 * Get max position for tickets in a column.
 */
export declare function getMaxTicketPosition(db: Database.Database, projectId: string, columnId: string): number;
