import type { ShellPassthroughSettings } from '@mastra/code-sdk/onboarding/settings'; export declare const MASTRACODE_SHELL_ENV = "MASTRACODE_SHELL"; export declare const MASTRACODE_SHELL_MODE_ENV = "MASTRACODE_SHELL_MODE"; export type ShellPassthroughMode = 'default' | 'path' | 'login'; export type ShellFamily = 'posix' | 'cmd' | 'powershell'; export interface DefaultShellInvocation { kind: 'default'; mode: 'default'; label: string; warnings: string[]; } export interface ExplicitShellInvocation { kind: 'explicit'; mode: Exclude; family: ShellFamily; executable: string; args: string[]; label: string; warnings: string[]; } export type ShellPassthroughInvocation = DefaultShellInvocation | ExplicitShellInvocation; export declare function inferShellFamily(executable: string, platform: NodeJS.Platform | string): ShellFamily | undefined; export declare function buildPowerShellScript(command: string): string; export declare function encodePowerShellCommand(script: string): string; export declare function buildPowerShellArgs(command: string, options: { loadProfile: boolean; }): string[]; export declare function resolveShellPassthroughInvocation(command: string, settings: ShellPassthroughSettings | undefined, env?: NodeJS.ProcessEnv, platform?: NodeJS.Platform | string): ShellPassthroughInvocation; export declare function describeShellPassthroughInvocation(invocation: ShellPassthroughInvocation): string; //# sourceMappingURL=shell-config.d.ts.map