import type { EcoBuildPlugin } from '../contracts/build-types.js'; import type { BuildOptions } from '../contracts/build-contracts.js'; /** * Returns the installed `@ecopages/core` package version for cache invalidation. */ export declare function getCorePackageVersion(): string; /** Stable fingerprint for JSX options used in build and disk cache keys. */ export declare function createJsxCacheKey(jsx: BuildOptions['jsx']): string; /** Stable fingerprint for ordered build plugins. */ export declare function createPluginCacheKey(plugins?: EcoBuildPlugin[]): string; /** Stable fingerprint for ordered source transforms. */ export declare function createSourceTransformCacheKey(sourceTransforms: BuildOptions['sourceTransforms']): string; /** * Stable fingerprint of a function body for cache and request identity keys. * * @remarks * Hashes `fn.toString()`. Suitable for in-process and persisted keys that must * agree within one install; not stable across minifiers or renames. */ export declare function hashFunctionIdentity(fn: (...args: never[]) => unknown): string; /** @deprecated Use {@link hashFunctionIdentity}. */ export declare const hashPluginSetup: typeof hashFunctionIdentity;