/** * sdk-pin-gate, verifies a consumer repo pins the SDK correctly. * * Absorbs three parallel copies: tui/scripts/publish-check.ts (pin in * `dependencies`), agent/scripts/sdk-release-gates.ts (pin in * `devDependencies`), and webui/scripts/release-gate.ts (adds the exports-map * import sweep). The tri-agreement (pin ⇄ lockfile ⇄ installed) catches the * "pin bumped but lockfile lagged, ships old SDK silently" failure class. */ import type { FsReader } from './effects.js'; import { type SdkPinConfig } from '../config.js'; /** One gate outcome; ok=false carries a human-readable reason. */ export interface GateResult { readonly id: string; readonly ok: boolean; readonly detail: string; } /** Read the SDK pin from the configured manifest group. */ export declare function readSdkPin(fs: FsReader, config: SdkPinConfig): string | null; /** * Run every sdk-pin gate and return one result per gate. Pure over the injected * FsReader, no process exit, no console. The bin maps results to exit codes. */ export declare function runSdkPinGate(fs: FsReader, partial: Partial | undefined): GateResult[]; //# sourceMappingURL=sdk-pin-gate.d.ts.map