/** * The product-lifetime bound on an explicitly internal-beta capability. Past this * date `enable` refuses AND an existing flag stops being honored, so FORGETTING * THIS TURNS THE FEATURE OFF — the safe direction. * * This is deliberately a constant in shipped code rather than a CI test with a * hard-coded date: such a test fires in an uninvolved engineer's lap at a moment * with no context, and the cheapest green is bumping the constant. Reaching this * date is a decision to make (extend, or remove the feature), not a number to * raise. */ export declare const DX_UNATTENDED_SUNSET: number; export interface Enablement { enabled: boolean; /** The raw ISO8601 grant time. Present only when `enabled` is true. */ at?: string; } /** * Decide enablement from an already-parsed config object. Pure, and STRICT: * identity against `true`, never truthiness. * * Truthiness fails OPEN on `"false"`, `"0"`, `{}`, `[]`, `1`, and `"garbage"` — * every one of those is truthy in JavaScript. The worst is `"false"`, which is * what a person hand-editing this file writes when they are trying to turn the * feature OFF; `{}` is what a refactor grouping the two fields produces. A gate * that reads a creator's "off" as "on" is inverted, not merely loose. */ export declare function readEnablement(cfg: unknown, now: number): Enablement; /** * Read enablement from the real machine config. * * Wrapped in its OWN try/catch, independent of the auth read, because * `readJsonIfExists` rethrows everything that is not ENOENT: a truncated * config.json must DISABLE the relaxation, not throw through it and take an * unrelated verb down with it. */ export declare function loadEnablement(now: number): Promise; /** Whole days elapsed, floored, never negative — a clock skew must not print `(-2 days)`. */ export declare function ageInDays(at: string, now: number): number; /** The calendar day of the grant, in UTC. The time of day is noise at this age scale. */ export declare function grantedOn(at: string): string; /** * The one visibility line, in the single pinned shape every human surface uses: * * Unattended send: ENABLED since 2026-04-01 (145 days) * * Returns undefined when not enabled. Nothing is printed in that case, on * purpose: a line that prints unconditionally is a line readers learn to skip, * which would cost exactly the attention the enabled line needs. */ export declare function enablementLine(e: Enablement, now: number): string | undefined;