import { type Rule } from "../model.js"; /** * `tsc` emits bin files with mode 0644, so a package that builds its bin with * the compiler ships a binary that loses its executable bit and fails with * "Permission denied". The fix is the shared `set-bin-executable` step, and it * must run in `prepack`: that is the only lifecycle hook guaranteed to run * after `prepublishOnly` (which may re-run `tsc` and strip the bit) and right * before the tarball is created. This rule holds every genuinely-published npm * package that declares a `bin` to that wiring. */ export declare const publishedBinMustBeExecutable: Rule;