/** Shell selection and executable verification use the target execution provider. */ import { type SubprocessRuntime } from '@deepseek-ai/dsh-subprocess'; import type { TerminalShell } from './types.ts'; /** * Resolve the configured shell or the execution environment's default shell. * @param subprocess - target execution provider. * @param configured - optional profile overriding the environment's default shell. * @param signal - resolution cancellation. * @returns one verified shell; a declared default that cannot resolve rejects. */ export declare function resolveShell(subprocess: SubprocessRuntime, configured: TerminalShell | undefined, signal: AbortSignal): Promise; /** * List verified candidates after the configured or environment-default shell. * @param subprocess - target execution provider. * @param configured - optional default profile. * @param candidates - executable names or paths permitted for shell selection. * @param signal - discovery cancellation. * @returns unique installed shells, with the default first; transport failures reject. */ export declare function discoverShells(subprocess: SubprocessRuntime, configured: TerminalShell | undefined, candidates: readonly string[], signal: AbortSignal): Promise; //# sourceMappingURL=shells.d.ts.map