123456789101112131415161718192021222324 |
- declare global {
- const Deno: {
- version: {
- deno: string;
- };
- env: {
- get: (name: string) => string | undefined;
- };
- } | undefined;
- }
- export declare const isBrowser: () => boolean;
- export declare const isWebWorker: () => boolean;
- export declare const isJsDom: () => boolean;
- export declare const isDeno: () => boolean;
- export declare const isNode: () => boolean;
- export declare const getEnv: () => string;
- export type RuntimeEnvironment = {
- library: string;
- libraryVersion?: string;
- runtime: string;
- runtimeVersion?: string;
- };
- export declare function getRuntimeEnvironment(): Promise<RuntimeEnvironment>;
- export declare function getEnvironmentVariable(name: string): string | undefined;
|