import { type IHeaderPredicate } from "@gooddata/sdk-ui"; /** * Registers a stable, serializable key for a header predicate function. * * @remarks * Geo layer color mappings use {@link IHeaderPredicate} functions that cannot be reliably stringified. * This registry allows us to fingerprint predicates by a stable key (e.g. mapping id) when available. * * @internal */ export declare function registerHeaderPredicateKey(predicate: IHeaderPredicate, key: string): void; /** * Returns a stable fingerprint for a header predicate. * * @remarks * - If a predicate key was registered via {@link registerHeaderPredicateKey}, the key is used. * - Otherwise, the predicate is fingerprinted by its function identity using an internal WeakMap. * * This is stable across renders as long as the same predicate function instance is reused. * * @internal */ export declare function getHeaderPredicateFingerprint(predicate: IHeaderPredicate): string; //# sourceMappingURL=predicateFingerprint.d.ts.map