export interface ChangedOptions { /** Git ref to diff against (e.g. `origin/main`). */ base: string; /** Migrations directory, relative to `cwd`. */ migrationsDir: string; cwd?: string; } export declare function isGitRepository(cwd?: string): boolean; /** * Absolute paths of `migration.sql` files added or modified relative to `base`. * * Prefers a three-dot diff (`base...HEAD`) so it reflects what the branch * changed since it diverged from base — the right comparison for a pull request. * Deleted files are excluded; only files that still exist on disk are returned. */ export declare function changedMigrationFiles(options: ChangedOptions): string[]; //# sourceMappingURL=git.d.ts.map