/**
 * The shell a call's command text runs on, as the gate's readers take it: the one fact of the leg (`readModelShell`'s reading) reaches
 * a call through the tool that runs it — the engine's shell tools declare the reading's shell (`ToolSpec.startedShell`, through
 * `startedShellDeclaration`), the roster row carries it, and the face stamped on the call copies it.
 */
import { type StartedShell } from "../shell/lex.js";
/** The member of a call's face (`ToolCallFace`) that says which shell runs the call's text. */
export interface StartedShellFace {
    /** The roster row's `startedShell`: the shell the tool runs the call's text on, where it is not bash; absent ⇒ bash. A park row carries it
     *  by value (`pendingAction.startedShell`), so a face rebuilt from the row has it too (`parkedCallFaceOf`). */
    startedShell?: "zsh";
}
/** A call as a reader of its text takes it: the face it carries (stamped by the leg that runs it). */
export type CallShellOf = {
    readonly face?: StartedShellFace | undefined;
};
/** The shell `req`'s text runs on: its face's `startedShell`, where the tool declares one. A face without the member is a bash tool's —
 *  the row encodes bash by absence, so a park row written before the member existed reads as bash — and so is a request that carries
 *  no face at all: a host's own question about a command, which every root-exported reader answers for bash. */
export declare function startedShellOfCall(req: {
    readonly face?: StartedShellFace | undefined;
}): StartedShell;
/** `req`'s text runs on bash ({@link startedShellOfCall}): the one question a seat that only speaks for bash asks (a rule offer). */
export declare function runsOnBash(req: {
    readonly face?: StartedShellFace | undefined;
}): boolean;
