import { Score } from '../score'; import type { FreeRect } from '../types'; import type { Heuristic, HeuristicCalculator, ScoredPlacement } from './types'; export declare abstract class BaseHeuristic implements Heuristic, HeuristicCalculator { abstract calculateScore(freeRect: FreeRect, rectWidth: number, rectHeight: number): Score; findPosition(boxWidth: number, boxHeight: number, freeRects: readonly FreeRect[], constrainRotation?: boolean): ScoredPlacement | null; private tryFit; } //# sourceMappingURL=base.d.ts.map