/** * Ambient declarations for the Bun APIs the release scripts use. * * Bun's own type package is not a dependency of this repository, and the * scripts touched by PB-26-912 use exactly two Bun entry points. Declaring * them here lets the scripts directory join the strict TypeScript project * instead of sitting outside every gate. */ declare module "bun" { export interface BunSyncResult { success: boolean; exitCode: number; stdout: Uint8Array; stderr: Uint8Array; } export function spawnSync(command: string[], options?: Record): BunSyncResult; } declare const Bun: { file(path: string): { text(): Promise }; spawnSync(command: string[], options?: Record): import("bun").BunSyncResult; };