import type { Excavation, ImageSettings, Modules } from './interface';
export declare function generatePath(modules: Modules, margin?: number): string;
export declare function excavateModules(modules: Modules, excavation: Excavation): Modules;
export declare function getImageSettings(cells: Modules, size: number, margin: number, imageSettings?: ImageSettings): null | {
    x: number;
    y: number;
    h: number;
    w: number;
    excavation: Excavation | null;
};
export declare function getMarginSize(includeMargin: boolean, marginSize?: number): number;
export declare const SUPPORTS_PATH2D: boolean;
