import fs from 'node:fs'; import type { Options, Capabilities } from '@wdio/types'; import type { BrowserstackConfig, BrowserstackOptions, TestObservabilityOptions } from '../types.js'; export declare class CLIUtils { static automationFrameworkDetail: {}; static testFrameworkDetail: {}; static CLISupportedFrameworks: string[]; static isDevelopmentEnv(): boolean; static getCLIParamsForDevEnv(): Record; /** * Build config object for binary session request * @returns {string} * @throws {Error} */ static getBinConfig(config: Options.Testrunner, capabilities: Capabilities.TestrunnerCapabilities | WebdriverIO.Capabilities, options: BrowserstackConfig & BrowserstackOptions, buildTag?: string): string; static getSdkVersion(): string; static getSdkLanguage(): string; static setupCliPath(config: Options.Testrunner): Promise; static checkAndUpdateCli(existingCliPath: string, cliDir: string, config: Options.Testrunner): Promise; static getCliDir(): string; static getWritableDir(): string | null | undefined; static getExistingCliPath(cliDir: string): string; static requestToUpdateCLI: (queryParams: Record, config: Options.Testrunner) => Promise; static runShellCommand(cmdCommand: string, workingDir?: string): Promise; static downloadLatestBinary: (binDownloadUrl: string, cliDir: string) => Promise; static downloadFileStream(downloadedFileStream: fs.WriteStream, binaryName: string | null, zipFilePath: string, cliDir: string, resolve: (path: string) => void, reject: (reason?: Error) => void): void; static getTestFrameworkDetail(): any; static getAutomationFrameworkDetail(): any; static setFrameworkDetail(testFramework: string, automationFramework: string): void; /** * Get the current instance name using thread id and processId * @returns {string} */ static getCurrentInstanceName(): string; /** * * @param {TestFrameworkState | AutomationFrameworkState} frameworkState * @param {HookState} hookState * @returns {string} */ static getHookRegistryKey(frameworkState: State, hookState: State): string; static matchHookRegex(hookState: string): boolean; static getObservabilityBuildTags(observabilityOptions: TestObservabilityOptions, bstackBuildTag?: string): string[]; static checkCLISupportedFrameworks(framework: string | undefined): boolean; } //# sourceMappingURL=cliUtils.d.ts.map