/**
 * The Bash tool's background-lifetime TEXT: the one sentence the tool description and every launch / adoption
 * receipt render about whether a `run_in_background` process outlives the task, and the three fragments it is
 * built from. Wording only — which rows the reaps take is the registry's (task-registry.ts); the retain answer is
 * handed in, judged by the tool mount through THE retain predicate (background-shell.ts).
 */
/**
 * Lifetime guidance AT THE DECISION MOMENT. The tool description alone does not steer the model:
 * delivered services get hosted via run_in_background and reaped at THEIR OWNING RUN'S teardown — see
 * {@link bgReapClause} for the session-scoped/session-less/isolated-owned-env split — where CC's models
 * habitually use `nohup … &` instead, and BOTH engines kill resident bg rows at teardown. Pure prompt
 * face: the kill semantics
 * (CC-aligned) are untouched. ONE construction point: a ctrl+b-adopted command is the SAME lifetime class
 * (its own leg says so in a comment), so the sentence it gets must be the same string, not a second copy.
 */
export declare function backgroundLifetimeNote(retained: boolean, sessionScoped: boolean, envIsolatedOwned: boolean, face?: "receipt" | "description"): string;
/**
 * The one sentence a background COMMAND's receipt carries in a one-shot submission (e.g. headless `-p`): the submission's
 * ending waits for the completion of loop-type background tasks (agents, workflows) only — a command's lifetime is its
 * process's, which may never end (a server, `tail -f`), so it is not waited for and its completion may never be heard.
 * ONE construction point for both background legs (run_in_background and an adopted command).
 */
export declare const BASH_BACKGROUND_UNAVAILABLE = "Error (Bash): run_in_background is not available here \u2014 this environment cannot run background processes, or no completion would come back from one on this mount. Run the command in the foreground (with a timeout).";
/**
 * The output-file sentence a background command's receipt carries — ONE construction point for both background legs.
 * The file is the full record; without one (it could not be created) the completion notification says what was retained.
 */
export declare function backgroundOutputFileNote(outputFile: string | undefined): string;
export declare const ONE_SHOT_BACKGROUND_COMMAND_NOTE = "This is a one-shot submission \u2014 the engine does not wait for background commands; run it in the foreground (with a timeout) if you need its output before the submission ends.";
