export declare const BOOTSTRAP_BUNDLE_FORMAT: 1; export declare const BOOTSTRAP_BUNDLE_KIND: "forgezero-api-git-bundle"; export declare const MAX_BOOTSTRAP_BUNDLE_BYTES: number; export interface BootstrapBundleManifest { format: typeof BOOTSTRAP_BUNDLE_FORMAT; kind: typeof BOOTSTRAP_BUNDLE_KIND; branch: string; revision: string; sha256: string; bytes: number; createdAt: string; } export interface BootstrapBundleBuildInput { repositoryRoot: string; outputPath: string; branch: string; } export interface BootstrapBundleBuildResult { bundlePath: string; manifestPath: string; manifest: BootstrapBundleManifest; } export interface BootstrapBundleCommandResult { exitCode: number; output: string; } export type BootstrapBundleCommand = (argv: readonly string[]) => Promise; export declare function sha256File(path: string): Promise; export declare const bootstrapBundleBranch: (value: unknown) => string; export declare function parseBootstrapBundleManifest(value: unknown): BootstrapBundleManifest; export declare function readBootstrapBundle(bundlePath: string, manifestPath?: string): Promise; export declare function buildBootstrapBundle(input: BootstrapBundleBuildInput, exec?: BootstrapBundleCommand): Promise; /** * Make the reviewed branch head the canonical launch bundle without silently * reusing an older release. The previous verified pair is retained beside the * new pair so an attended operator can inspect or restore it. */ export declare function refreshBootstrapBundle(input: BootstrapBundleBuildInput, exec?: BootstrapBundleCommand): Promise;