export type ShellType = "unix" | "powershell" | "cmd"; export declare function detectShellType(): ShellType; export declare function shellEscape(value: string, shellType: ShellType): string; export declare function buildEnvPrefix(env: Record, shellType: ShellType): string; export declare function shellEscapeForDoubleQuotedCommand(value: string): string;