/** * Which tool Trazum is running inside. * * On the Node entry point rather than the browser-safe one, because it reads the * process environment. Nothing about the optimisation changes with the answer — * the same prompt optimises the same way everywhere, as it must, and that is a * standing constraint rather than a coincidence. * * What the answer earns is the right to stop quoting a monthly dollar saving to * somebody on a flat-rate plan. Inside Cursor or a Claude Code subscription the * per-call saving is real arithmetic about tokens and **not money anybody gets * back**, and "$184/month" is wrong in the direction that matters most. */ export interface HostEnvironment { id: string; displayName: string; /** * How the host bills. * * `unknown` is honest rather than lazy: a VS Code terminal says nothing about * whether the prompts written in it go to a metered API or a subscription, and * guessing either way would be worse than saying so. */ billing: 'per-token' | 'subscription' | 'unknown'; /** The variable that gave it away, so the answer is checkable rather than magic. */ evidence: string | null; } /** The host, or a plain terminal when nothing identifies itself. */ export declare function detectHost(env?: NodeJS.ProcessEnv): HostEnvironment; //# sourceMappingURL=host.d.ts.map