export declare function getDefaultShell(platform: string): string; /** * Shell families that differ in invocation flags and command syntax. * "wsl" is the wsl.exe launcher (which runs bash in the default distro); * "posix" covers bash/zsh/sh and other `-c`-style shells. */ export type ShellKind = "powershell" | "cmd" | "wsl" | "posix"; /** * Classify a shell executable (name or full path) into its family. * * This is the single classification used both for building spawn arguments * (getShellArgs) and for shell-specific prompting, so the syntax the model is * told to use always matches the syntax the executor actually accepts. */ export declare function getShellKind(shell: string): ShellKind; export interface ShellInvocation { args: string[]; input?: string; } export declare function getShellInvocation(shell: string, command: string): ShellInvocation; /** * @deprecated Use getShellInvocation() when executing commands so PowerShell * source can travel through Unicode-safe stdin. */ export declare function getShellArgs(shell: string, command: string): string[];