//#region src/serverless.d.ts
/**
 * Serverless environment detection.
 *
 * Used to auto-enable session flush and generate warnings when events
 * might be lost due to the runtime freezing before the flush interval fires.
 */
/**
 * Detect whether the current process is running in a serverless environment.
 *
 * Checks well-known environment variables set by major serverless platforms.
 * Result is cached after the first call.
 */
declare function isServerless(): boolean;
/** Reset the cached result (for testing). */
declare function _resetServerlessCache(): void;
//#endregion
export { _resetServerlessCache, isServerless };
//# sourceMappingURL=serverless.d.ts.map