/** * Hook-emitted boolean flags, read once and read the same way everywhere. * * `jq` preserves JSON types, so a hook's `{bg:1}` arrives as a **number**, not a * boolean or a string. Truthiness is not enough (`'0'` is truthy) and equality * with `true` is not enough either, so every consumer needs this exact reading — * and the review round found two copies of it that had already drifted: the * spool's accepted `1 | true | '1'` while the command pass had a second copy * that also had to be taught `'true'`. One definition, so a flag can never mean * one thing to capture and another to certification. * * The permissive direction is the safe one for every current caller: each of * these flags means "yes" for a DISQUALIFIER (`bg`) or for positively-proven * evidence (`zero`, `subst`), so reading more spellings as true can only refuse * more, never assert more. */ export declare function readJsonFlag(value: unknown): boolean; //# sourceMappingURL=flags.d.ts.map