/** * Configuration hash for transform cache keys. * * Computes a hash of transform-affecting configuration to ensure * cache entries are invalidated when configuration changes. */ /** * Configuration that affects transform output. */ interface TransformConfig { /** React version for esm.sh URLs */ reactVersion?: string; /** JSX import source */ jsxImportSource?: string; /** Module server URL for rewritten browser imports */ moduleServerUrl?: string; /** Absolute request origin used to emit browser-loadable static asset URLs. */ moduleServerOrigin?: string; /** Vendor bundle hash for rewritten vendor imports */ vendorBundleHash?: string; /** API base URL for rewritten cross-project imports */ apiBaseUrl?: string; /** Enable Studio Navigator embed */ studioEmbed?: boolean; /** Development mode */ dev?: boolean; /** Stable VERYFRONT_DEPENDENCY_PINNING + package dependency-map state. */ dependencyPinningCacheKey?: string; } /** * Compute a hash of transform-affecting configuration. * * Changes to these values should invalidate cached transforms. */ export declare function computeConfigHash(config: TransformConfig): Promise; /** * Compute a quick config hash synchronously (less fields, faster). * * Use this when you need a config hash but can't afford async overhead. */ export declare function computeConfigHashSync(config: TransformConfig): string; export {}; //# sourceMappingURL=config-hash.d.ts.map