import { ExecSyncOptionsWithStringEncoding, SpawnSyncOptionsWithStringEncoding } from 'node:child_process'; export declare const existsAsync: (file: string) => Promise; /** Wrapper for execSync to execute shell commands */ export declare function sh(command: string, options?: Partial): string; /** Wrapper for spawnSync to execute commands without shell interpolation. */ export declare function sp(command: string, args: string[], options?: Partial): string; export declare function asyncSh(command: string, options?: Partial): Promise; export declare function createFileIfNotExists(filePath: string, content: string): Promise; /** * Climb the directory tree upward, until found a directory that contains the * target file, and return resulting full path */ export declare function findPath(target: string, startDirectory?: string): string | undefined; /** * Climb the directory tree upward, until found a directory that contains the * target file, and return resulting full path */ export declare function asyncFindPath(target: string, startDirectory?: string): Promise;