import { DISTRIBUTED_SSR_MODULE_TTL_PREVIEW_SEC, DISTRIBUTED_SSR_MODULE_TTL_PRODUCTION_SEC } from "../../../utils/constants/cache.js"; export declare const SSR_MODULE_CACHE_MAX_ENTRIES = 2000; export declare const SSR_MODULE_CACHE_TTL_MS: number; export declare const SSR_TMP_DIRS_MAX_ENTRIES = 100; export declare const REDIS_KEY_PREFIX = "veryfront:ssr-module:"; /** Get environment-aware Redis TTL for SSR modules */ export declare function getSSRModuleRedisTTL(isProduction: boolean): number; export { DISTRIBUTED_SSR_MODULE_TTL_PREVIEW_SEC, DISTRIBUTED_SSR_MODULE_TTL_PRODUCTION_SEC }; /** * How long a local dev server keeps a compiled SSR module on disk. * * The preview TTL is tuned for a shared branch cache and expires long before a * developer returns to the project, so an on-disk local dev cache would go cold * anyway. A working day covers a restart without letting the project cache * directory grow without bound. Run `veryfront clean --cache` to reset it. */ export declare const LOCAL_DEV_SSR_MODULE_TTL_SEC: number; export declare const CIRCUIT_BREAKER_THRESHOLD = 25; export declare const CIRCUIT_BREAKER_RESET_MS: number; export declare function getMaxConcurrentTransforms(): number; export declare function getTransformPerProjectLimit(): number; /** Reset cached transform limits so env var changes take effect. */ export declare function resetCachedTransformLimits(): void; export declare const TRANSFORM_ACQUIRE_TIMEOUT_MS = 5000; export declare const TRANSFORM_ACQUIRE_TIMEOUT_DEV_MS = 30000; /** * Time a transform waits for capacity. Dev queues; production sheds load so one * tenant cannot stall the others. */ export declare function getTransformAcquireTimeoutMs(dev: boolean): number; export declare const TRANSFORM_IN_PROGRESS_WAIT_TIMEOUT_MS = 45000; export declare const TRANSFORM_IN_PROGRESS_STALE_EVICTION_MS: number; export declare const MAX_TRANSFORM_DEPTH = 15; export declare const TRANSFORM_BATCH_SIZE = 10; //# sourceMappingURL=constants.d.ts.map