1import fs from 'fs'2import { throwIf } from '../../sharedF/throwErrorF/throwIfF.mts'3import type { absFileDirPath, existingPath } from '../../ptDirF.mts'5export function assertExists(path: absFileDirPath, debugCtx?: Record<string, unknown>): asserts path is existingPath {7}