import type { IPreparedExecution } from "@gooddata/sdk-backend-spi"; import type { DataViewFacade } from "@gooddata/sdk-ui"; import type { ILayerExecutionRecord } from "../types/props/geoChart/internal.js"; /** * Sentinel value indicating data is not ready for fingerprinting. * * @internal */ export declare const NOT_READY_FINGERPRINT = "__not_ready__"; /** * Creates a fingerprint from a Map of layer IDs to DataViewFacades. * * @remarks * Used to create stable dependency keys for hooks that need to re-run * when data view contents change. * * @param layerDataViews - Map of layer IDs to DataViewFacade instances * @param isReady - Whether the data is ready (returns sentinel if false) * @returns A stable string fingerprint * * @internal */ export declare function createDataViewsFingerprint(layerDataViews: Map, isReady: boolean): string; /** * Creates a fingerprint from an array of layer executions. * * @remarks * Used to create stable dependency keys for hooks that need to re-run * when execution definitions change. * * @param layerExecutions - Array of objects with execution.fingerprint() method * @returns A stable string fingerprint * * @internal */ export declare function createExecutionsFingerprint(layerExecutions: Array<{ execution: { fingerprint(): string; }; }>): string; /** * Creates a fingerprint from a single prepared execution's bucket structure. * * @remarks * This is useful when you need a stable dependency key that captures bucket meaning, * even in situations where `execution.fingerprint()` might not fully reflect bucket structure. * * @internal */ export declare function createExecutionBucketsFingerprint(execution: IPreparedExecution): string; /** * Creates a fingerprint from layer execution records that captures bucket structure. * * @remarks * Unlike `createExecutionsFingerprint` which uses the execution fingerprint (based on * measures, dimensions, filters), this function captures the bucket structure. * * This is needed because moving a measure between buckets (e.g., from COLOR to SIZE) * doesn't change the execution fingerprint (same measures, same dimensions), but * it does change how the data should be interpreted and rendered. * * @param layerExecutions - Array of layer execution records * @returns A stable string fingerprint based on bucket structure * * @internal */ export declare function createLayersStructureFingerprint(layerExecutions: ILayerExecutionRecord[]): string; //# sourceMappingURL=fingerprint.d.ts.map