import type { Stats } from 'fs'; /** Only regular files can be read through the read-file IPC surface. */ export function isReadableRegularFile(stats: Pick): boolean { return stats.isFile(); }