export declare const ALLOWED_GIT_WORKTREE_KEYS: Set; export declare const ALLOWED_GIT_CLONE_KEYS: Set; /** * Validate `env.git` when present. * * Set `allowNull` for the contexts where `git: null` carries meaning — * experiment variant overrides use it to delete an inherited block. Elsewhere a * null is a bare `git:` key with no value, which nothing consumes downstream, * so it's reported rather than silently ignored. */ export declare function validateEnvironmentGit(env: Record, context: string, fail: (message: string) => never, options?: { allowNull?: boolean; }): void; /** * Resolve an optional `git.timeout` to milliseconds, or a caller-facing error * message keyed by `context` (e.g. `"environment"` at runtime, or a variant * context at load time). `undefined` is unset, not an error. Shared between the * config loaders (via {@link validateGitTimeout}) and the pipeline's runtime * resolver so both reject the same values with the same wording — a `0` (which * would disable the timeout) and anything past Node's timer range (which a timer * coerces to ~1ms and fires immediately). */ export declare function describeGitTimeout(timeout: unknown, context: string): { ok: true; ms: number; } | { ok: false; message: string; }; //# sourceMappingURL=environment-validation.d.ts.map