import "../../index-ChIfeWzk.js";
import "../../ItemsInputNormalizer-CFkfNMLt.js";
import { i as AppPersistenceConfig } from "../../CodemationAppContext-K51b7oXe.js";
import "../../CodemationWhitelabelConfig-Ca2mCUeC.js";

//#region src/infrastructure/persistence/PrismaMigrationOperations.d.ts

/**
 * Contains all runtime logic for deploying Prisma migrations.
 * This class is loaded lazily via `await import(...)` from PrismaMigrationDeployer
 * so that the dynamic fs/path/createRequire operations never appear in the
 * static module graph visible to the Turbopack / Next.js NFT tracer.
 */
declare class PrismaMigrationOperations {
  private static readonly normalizedRuntimeMigrationName;
  private readonly require;
  deployPersistence(persistence: AppPersistenceConfig, env?: Readonly<NodeJS.ProcessEnv>): Promise<void>;
  deploy(args: Readonly<{
    databaseUrl: string;
    env?: Readonly<NodeJS.ProcessEnv>;
  }>): Promise<void>;
  resolvePackageRoot(env?: Readonly<NodeJS.ProcessEnv>): string;
  private deploySqlite;
  private deployPostgres;
  private deployWithProvider;
  private resolveAppliedMigration;
  private runPrismaCommand;
  private tryRecoverPartiallyAppliedNormalizedRuntimeMigration;
  private isRecoverableNormalizedRuntimeMigrationError;
  private repairPartiallyAppliedNormalizedRuntimeSqliteDatabase;
  private hasActiveFailedMigrationRecord;
  private readSqliteTableColumns;
  private ensureNormalizedRuntimeRepairArtifacts;
  private cleanupNormalizedRuntimeLegacyArtifacts;
  private sqliteFilePathToDatabaseUrl;
  private createProcessEnvironment;
  private resolvePrismaCliPath;
  private resolveAbsolutePrismaConfigPath;
  private ensureSqliteParentDirectoryExists;
  private createDeployError;
}
//#endregion
export { PrismaMigrationOperations };
//# sourceMappingURL=PrismaMigrationOperations.d.ts.map