import { type HarnessId } from '../agent-harness-identity/index.mts'; /** * The harness that launched this server, from the launch environment first and the MCP client's * `initialize` `clientInfo.name` second. Neither comes from a tool argument. */ export declare function deriveAgent(env: NodeJS.ProcessEnv, clientName?: string): HarnessId | undefined; /** * The text of the `Agent:` line before the session. The agent is the derived harness; a caller * `agent` that does not name it, or any `model`, is shown as caller-claimed and never replaces it. * With nothing derivable the agent is `unknown`. */ export declare function agentLabel(derived: HarnessId | undefined, claimedAgent: string | undefined, claimedModel: string | undefined): string;