/** * Helper functions relating to JavaScript runtimes. * * @module */ import { JavaScriptRuntime } from "../enums/JavaScriptRuntime.js"; /** * Helper function to get the current JavaScript runtime, such as Node.js. Returns undefined if the * current runtime cannot be detected. */ export declare function getJavaScriptRuntime(): JavaScriptRuntime | undefined; /** * Helper function to check if the current JavaScript runtime is Bun. * * @see https://bun.com/ */ export declare function isBunRuntime(): boolean; /** * Helper function to check if the current JavaScript runtime is Deno. * * @see https://deno.com/ */ export declare function isDenoRuntime(): boolean; /** * Helper function to check if the current JavaScript runtime is Node.js. * * @see https://nodejs.org/ */ export declare function isNodeRuntime(): boolean; //# sourceMappingURL=runtime.d.ts.map