import { Command } from '@oclif/core'; import { CommandStyle } from '../helpers/command-style.js'; import { PackageJsonFile } from '../services/check-parser/package-files/package-json-file.js'; /** * Resolves the CLI version reported to the Checkly API in the * `x-checkly-cli-version` header. * * `CHECKLY_E2E_CLI_VERSION` is an internal override used by the e2e suite and * the AI-context build. It only changes the reported value; it never changes * which CLI version actually runs. Development builds (`0.0.1-dev`, `0.0.0-*`) * report the latest published version instead, because the backend parses the * header as semver and rejects unknown versions. */ export declare function resolveReportedCliVersion(configVersion: string): Promise; export type BaseCommandClass = typeof Command & { coreCommand: boolean; }; export declare abstract class BaseCommand extends Command { #private; static coreCommand: boolean; static hidden: boolean; static readOnly: boolean; static destructive: boolean; static idempotent: boolean; fancy: boolean; style: CommandStyle; loadPackageJsonOfSelf(): Promise; checkEngineCompatibility(): Promise; checkSkillFreshness(): Promise; protected init(): Promise; run(): Promise; protected catch(err: Error & { exitCode?: number; }): Promise; }