export declare const CLIENT_MIGRATION_PROTOCOL_VERSION: 2; export declare const SUPPORTED_DRIZZLE_VERSION: "0.31.10"; export declare const CLIENT_MIGRATION_TARGET_IDS: readonly ["features", "auth", "audit", "webhooks", "files"]; export type ClientMigrationTargetId = (typeof CLIENT_MIGRATION_TARGET_IDS)[number]; export type ClientMigrationDialect = 'sqlite' | 'postgresql'; export declare const CLIENT_MIGRATION_POSTPROCESSORS: readonly ["update-journal", "reorder-pg-constraints", "harden-audit", "append-rls", "append-triggers", "d1-safety"]; export type ClientMigrationPostprocessor = (typeof CLIENT_MIGRATION_POSTPROCESSORS)[number]; export interface ClientMigrationRenameHints { tables?: Record; columns?: Record>; } export interface ClientMigrationTarget { id: string; dialect: ClientMigrationDialect; configPath: string; outPath: string; renameHints?: ClientMigrationRenameHints; autoCreateRenames?: boolean; postprocessors: ClientMigrationPostprocessor[]; } export interface ClientMigrationPlan { protocolVersion: typeof CLIENT_MIGRATION_PROTOCOL_VERSION; drizzleVersion: typeof SUPPORTED_DRIZZLE_VERSION; targets: ClientMigrationTarget[]; } export interface CommandInvocation { executable: string; args: readonly string[]; cwd: string; env?: NodeJS.ProcessEnv; signal?: AbortSignal; renameHints?: ClientMigrationRenameHints; autoCreateRenames?: boolean; } export interface CommandResult { exitCode: number; stdout: string; stderr: string; } /** * The migration executor passes argv directly to this seam. Implementations * must not concatenate the fields into a shell command. */ export type MigrationCommandRunner = (invocation: CommandInvocation) => Promise; export interface MigrationInputFile { path: string; content: string | Uint8Array; } //# sourceMappingURL=types.d.ts.map