export interface Block {
    w: number;
    h: number;
    fit?: TreeNode | null;
}
export interface TreeNode {
    x: number;
    y: number;
    w: number;
    h: number;
    used?: boolean;
    down?: TreeNode;
    right?: TreeNode;
}
/**
 * Growth packer based on https://github.com/jakesgordon/bin-packing/tree/master
 *
 * Added support to adding gaps to the packing by @feng94
 */
export declare class GrowingPacker {
    root: TreeNode | null;
    gap: number;
    constructor(gap?: number);
    fit(blocks: Block[]): void;
    private findNode;
    private splitNode;
    private growNode;
    private growRight;
    private growDown;
}
