import { DataSource } from 'typeorm';
/**
 * Check if this is the first run with the new migration system
 * @param dbPath Path to the database file
 * @returns true if this is the first run, false otherwise
 */
export declare function isFirstRun(dbPath: string): boolean;
/**
 * Verify that migrations table exists
 * @param dataSource The TypeORM data source
 * @returns Promise resolving to true if migrations table exists
 */
export declare function verifyMigrationsTable(dataSource: DataSource): Promise<boolean>;
/**
 * Create a backup of the database before migration
 * @param dbPath Path to the database file
 */
export declare function createBackup(dbPath: string): void;
/**
 * Ensure migrations directory exists and return its path
 * @returns Path to the migrations directory
 */
export declare function ensureMigrationsDir(): string;
