export declare function isReservedEnvName(name: string): boolean; /** Every stored variable NAME for a profile, sorted. Never returns values. */ export declare function listProfileEnvNames(profileId: string): string[]; /** Set one variable, replacing any prior value under the same name. Holds the * same per-profile lock manifest mutations use (`withProfileManifestLock`), * so a concurrent `profile delete` can never race a write into an * about-to-vanish profile dir — whichever runs first wins the lock, and the * loser either sees `not_found` (delete-then-set) or removes the file right * back out from under a just-written value (set-then-delete, via * `deleteProfile`'s recursive rm of the whole profile root). Returns whether * the name was newly added (`true`) or replaced an existing value (`false`). */ export declare function setProfileEnvVar(profileId: string, name: string, value: string): boolean; /** Remove one variable. Returns whether it was present. */ export declare function removeProfileEnvVar(profileId: string, name: string): boolean; /** Every stored `{name: value}` for a profile — the ONLY function that * returns raw values, called exclusively by `buildBrokerEnv` * (`core/runtime/spawn-env.ts`) to inject them directly into a launched * broker's env. Never throws: a stale/invalid/deleted profile id is a * hot-path no-op (mirrors `readRawProfileConfig` in `core/config.ts`), * because broker-env resolution must never fail a launch over a bad profile * id. */ export declare function readProfileEnvVars(profileId: string | null): Record;