import { type ScaleLinear, type ScaleOrdinal } from 'd3-scale';
import type { DieRenderInfo } from '../types';
import type { WaferMap } from '..';
/**
 * Prerendering prepares render-ready dies data to be used by the rendering module
 */
export declare class Prerendering {
    private readonly wafermap;
    get labelsFontSize(): number;
    get diesRenderInfo(): DieRenderInfo[];
    d3ColorScale: ScaleOrdinal<string, string> | ScaleLinear<string, string>;
    private _labelsFontSize;
    private _diesRenderInfo;
    private readonly fontSizeFactor;
    private readonly nonHighlightedOpacity;
    private readonly emptyDieColor;
    private readonly nanDieColor;
    constructor(wafermap: WaferMap);
    updateLabelsFontSize(): void;
    updateDiesRenderInfo(): void;
    private computeDieRenderInfo;
    private calculateLabelsFontSize;
    private createD3ColorScale;
    private dieHasData;
    private buildLabel;
    private calculateOpacity;
    private isColorScaleLinear;
    private isColorScaleOrdinal;
    private calculateFillStyle;
}
