/** * Default timeout to wait for the tizen command. */ export const CMD_TIMEOUT_MS: 90000; /** * Default retry count for the tizen command. */ export const CMD_RETRY_MAX: 3; /** * back off time in each retry */ export const CMD_RETRY_BACKOFF_MS: 1000; export type KnownBinName = typeof TIZEN_BIN_NAME | typeof SDB_BIN_NAME; /** * Runs external command by "bin name" * @param {KnownBinName} bin * @param {string[]} args * @param {number} timeout Timeout to raise an error */ export function runCmd(bin: KnownBinName, args: string[], timeout: number): Promise>; /** * @param {string} name */ export function setBin(name: string): Promise; export const TIZEN_BIN_NAME: "tizen"; export const SDB_BIN_NAME: "sdb"; /** * Check the connection of the given host:port * @param {string} udid Expected to be string * @param {number} timeout * @returns */ export function checkConnection(udid: string, timeout?: number): Promise; //# sourceMappingURL=helpers.d.ts.map