mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 12:10:24 +00:00
9 lines
472 B
TypeScript
9 lines
472 B
TypeScript
declare function isBrowserLike(): boolean;
|
|
/**
|
|
* Returns the environment variable with the given name, returning the default (if given) or throwing an error (otherwise) if it's undefined or the empty string.
|
|
*/
|
|
declare function getEnvVariable(name: string, defaultValue?: string | undefined): string;
|
|
declare function getNextRuntime(): string;
|
|
declare function getNodeEnvironment(): string;
|
|
|
|
export { getEnvVariable, getNextRuntime, getNodeEnvironment, isBrowserLike };
|