/** migrations/ ships as a sibling of dist/ both in a repo checkout (repo * root) and in a materialized release (release root) — see * materializeRelease's `for (const top of ['dist', 'migrations'])` copy * step and its own hard assertion that migrations/ must exist alongside * dist/ (src/service/release.ts). Two levels up from this compiled * file's own directory (dist/storage -> dist -> release/repo root) * reaches it — the same depth src/storage/migrate.ts has always used. */ export declare const MIGRATIONS_DIR: string; /** * The current schema version: the highest `NNN-` prefix among migration * files in `dir`. Adding a migration file is the only thing that bumps it. * * Throws rather than returning 0/undefined for an empty or unparseable * directory — a schema version of "nothing" must never look like a valid * boot (ADR-015: success and silent failure must never be the same * observable state). */ export declare function deriveSchemaVersion(dir?: string): number; /** Computed once at module load, from the real migrations/ directory next * to wherever this compiled module physically lives. */ export declare const SCHEMA_VERSION: number;