UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

13 lines • 1.08 kB
/** * Environment names as the target platform's C runtime sees them. POSIX names are case-sensitive, * so `node_extra_ca_certs` is another variable. Windows `getenv` is case-insensitive, while Bun's * `process.env` keeps the user's casing and `Bun.spawn` copies every key as given, so a child can * hold two case forms of one name and its CRT decides which one Bun loads. */ export type EnvironmentEntries = Readonly<Record<string, string | undefined>>; export declare function hasName(env: EnvironmentEntries, name: string, platform: NodeJS.Platform): boolean; /** Every distinct defined value the name carries; more than one means the CRT, not us, picks. */ export declare function valuesOf(env: EnvironmentEntries, name: string, platform: NodeJS.Platform): string[]; export declare function deleteName(env: Record<string, string | undefined>, name: string, platform: NodeJS.Platform): void; export declare function setName(env: Record<string, string | undefined>, name: string, value: string, platform: NodeJS.Platform): void; //# sourceMappingURL=environment-names.d.ts.map