/** What a worker reads to find its job; each entry: [new name, old name]. */ export declare const JOB_ENV: { readonly id: readonly ["ROOST_JOB_ID", "PI_JOB_ID"]; readonly token: readonly ["ROOST_JOB_TOKEN", "PI_JOB_TOKEN"]; readonly socket: readonly ["ROOST_SOCKET", "PI_DAEMON_SOCK"]; readonly dir: readonly ["ROOST_JOB_DIR", "PI_JOB_DIR"]; }; /** Every name that makes a process a job's worker: never inherited by another job. */ export declare const JOB_ENV_NAMES: readonly string[]; /** The environment a job's worker starts with: both names of each. */ export declare function jobEnv(o: { id: string; token?: string; socket: string; dir: string; }): Record; /** The first set name of a JOB_ENV entry. */ export declare function readJobEnv(env: NodeJS.ProcessEnv, which: keyof typeof JOB_ENV): string | undefined; /** A roost setting from the environment: ROOST_, else PI_ROOST_. */ export declare function roostEnv(name: string, env?: NodeJS.ProcessEnv): string | undefined;