import { type Remote } from 'comlink';
import type { ZoomTransform } from 'd3-zoom';
import type { WaferMap } from '..';
import type { MatrixRenderer } from '../workers/matrix-renderer';
import type { Dimensions, RenderConfig } from '../workers/types';
/**
 * Responsible for drawing the dies inside the wafer map, adding dieText and scaling the canvas
 */
export declare class WorkerRenderer {
    private readonly wafermap;
    /**
     * @internal
     */
    matrixRenderer: Remote<MatrixRenderer>;
    private readonly minDieDim;
    constructor(wafermap: WaferMap);
    setupWafer(snapshot: {
        canvasDimensions: Dimensions;
        renderConfig: RenderConfig;
        columnIndices: Int32Array;
        rowIndices: Int32Array;
        values: Float64Array;
    }): Promise<void>;
    drawWafer(snapshot: {
        canvasDimensions: Dimensions;
        dieDimensions: Dimensions;
        transform: ZoomTransform;
        dieLabelsHidden: boolean;
    }): Promise<void>;
    renderHover(): void;
    private calculateHoverTransform;
}
