/** * Agent-preset display names, and the profile row the terminal `/mode` needs. * * A shipped preset's name resolves through the id-keyed dictionary this module * owns — the same rule `@deepseek-ai/dsh-agent-presets/display` applies on the * browser surface — so `/language` reaches the picker, the banner, and * `/status`. A user-authored preset keeps the name its own `preset.yml` * published: that metadata is never translated. * * A terminal profile built on `dsh-base` composes no preset roster, and this * plugin's own bundle patch may not mount one (DSH STORE accepts additive * plugin-owned rows only), so the profile's user layer owns the row. When it is * absent `/mode` reports the exact repair instead of a dead end. * @module dsh-ssh-tui/preset-label */ /** Whether this id belongs to the shipped, translatable roster. */ export declare function isShippedPreset(id: string): boolean; /** * Resolve the name a picker, banner, or report renders for one preset. * * A published name equal to the id is the roster's own "no metadata" answer, * not a name, so it falls through to the dictionary or back to the id. * @param id - the preset id, also the last-resort label. * @param name - display name the preset published, when it published one. * @param trust - `user` keeps published metadata; anything else (including an * unknown trust) resolves a shipped id through the dictionary. * @returns the localized or published name, never empty. */ export declare function presetLabel(id: string, name?: string, trust?: string): string; /** * The profile this process booted, from `--profile ` / `--profile=`. * * The launcher passes the same arguments to the front end and to the Host it * spawns (only `--resume`/`--new` are rewritten), so both report one profile. * @param argv - the argument list to read. * @returns the profile name, or the TUI's own default when none was named. */ export declare function profileFromArgv(argv?: readonly string[]): string;