/**
 * Spawns a shell then executes the command within that shell
 *
 */
export declare function executeCommand(command: string, cwd?: string): Promise<string>;
/**
 *
 * > Tagged Template Literal wrapper  around the {executeCommand} utility
 * @param {string} command as string.
 * @return {Promise<string>} result from the stdout as string
 * @throws stderr output as string.
 *
 * **Example:**
 * ```typescript
 * const animal = await $`echo cat`
 * ```
 */
export declare function $(commandParts: TemplateStringsArray, ...commandOptionParts: string[]): Promise<string>;
