/** Must match CAPGO_API_DEFAULT_VERSION until a newer version is intentionally adopted. */
export declare const CAPGO_CLI_API_VERSION = "2025-10-01";
export declare function setCurrentCliCommand(command: string): void;
/**
 * Validate a single outgoing HTTP header value before fetch/undici builds Headers.
 * Throws CliUserError with a user-facing message — never includes the secret value.
 */
export declare function validateCliRequestHeaderValue(headerName: string, value: unknown): string;
/**
 * `x-cli-ci` value when the CLI runs in CI: the CI name (e.g. "GitHub Actions"),
 * or `ci` when ci-info cannot name it. Capgo uses it to mark the onboarding
 * CI/CD step done. Undefined outside CI.
 */
export declare function cliCiHeaderValue(ci?: boolean, name?: string | null): string | undefined;
/**
 * Build Capgo API request headers that identify this CLI invocation.
 * Does not invent an API key — callers merge Authorization/capgkey when available.
 */
export declare function buildCliRequestHeaders(extra?: Record<string, string>): Record<string, string>;
