/** A complete x.y.z (optionally with a prerelease tag): the one shape that resolves to a single immutable build. */ export declare const EXACT_VERSION: RegExp; export type ExactEnginePin = { slug: string; /** What helix.json asks for (or, for an import-map-only finding, the immutable URL's revision path). */ range: string; /** Where the pin was seen. A pin usually appears in all three; a hand-edited artifact may carry only one. */ sources: Array<'helix.json' | 'helix.runtime.json' | 'index.html'>; }; /** The flag every refusal, doc and tool names. One spelling, so it can be grepped. */ export declare const ALLOW_EXACT_ENGINE_PIN_FLAG = "--allow-exact-engine-pin"; export declare const EXACT_ENGINE_PIN_RUNBOOK: string; export declare function isImmutableEngineUrl(url: string): boolean; /** * Every platform system this World delivers as an exact immutable build, from the three declarations a * publish is made of: helix.json's `systems`, helix.runtime.json (`mode: "pinned"`) and the entry HTML's * import map (an `@helix/*` specifier aimed at an immutable /packages///code/ URL). Any one is enough: * a descriptor that says "pinned" or an import map that points at a revision is delivered pinned whatever * helix.json says. Compiled-in ('legacy-bundled') systems are NOT reported — different mode, different gate. */ export declare function detectExactEnginePins(input: { manifestSystems?: Record | null; descriptor?: unknown; entryHtml?: string | null; }): ExactEnginePin[]; export declare function describeExactEnginePins(pins: ExactEnginePin[]): string; export declare function exactEnginePinRefusal(pins: ExactEnginePin[]): string; export declare function exactEnginePinOverrideWarning(pins: ExactEnginePin[], reason: string): string; /** The reason is the audit trail, so an empty/whitespace flag value is refused rather than defaulted. */ export declare function requireOverrideReason(value: unknown): string; export type EnginePinOverrideRecord = { at: string; slug: string; reason: string; command: 'publish' | 'validate'; pins: Array<{ slug: string; range: string; sources: string[]; }>; apiUrl?: string; }; export declare function enginePinOverrideLogPath(): string; /** Append-only JSONL: one line per override actually used. Never throws into the publish path's caller silently — a log that cannot be written refuses the override. */ export declare function recordEnginePinOverride(record: EnginePinOverrideRecord): string;