import type { EmitResult } from "./types.js"; export interface WriteMigrationOptions { /** Migrations root directory (e.g., ".meta/migrations"). Must already exist. */ dir: string; /** Human-readable slug; sanitized to lowercase + hyphens. */ slug: string; /** Override for the timestamp source (UTC). Defaults to new Date(). */ now?: Date; } export interface WriteMigrationResult { /** Absolute path to the per-migration directory created. */ dir: string; /** Path to up.sql. */ upPath: string; /** Path to down.sql. */ downPath: string; } export declare function writeMigration(result: Pick, opts: WriteMigrationOptions): Promise; //# sourceMappingURL=write-migration.d.ts.map