export interface Block {
    w: number;
    h: number;
    fit?: {
        x: number;
        y: number;
    } | null;
}
export type MaxRectsHeuristic = "best-area-fit" | "center-distance";
export declare const packBlocksMaxRects: <T extends Block>(blocks: T[], options?: {
    gap?: number;
    heuristic?: MaxRectsHeuristic;
}) => {
    width: number;
    height: number;
} | null;
