/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { getPackageJson } from './package.js';
export async function getCliVersion() {
    const pkgJson = await getPackageJson();
    return process.env['CLI_VERSION'] || pkgJson?.version || 'unknown';
}
//# sourceMappingURL=version.js.map