import type { Graph, GridLayoutOptions, Layout, LayoutMapping } from './types';
/**
* 网格布局
*
* Grid layout
*/
export declare class GridLayout implements Layout {
options: GridLayoutOptions;
id: string;
constructor(options?: GridLayoutOptions);
/**
* Return the positions of nodes and edges(if needed).
*/
execute(graph: Graph, options?: GridLayoutOptions): Promise;
/**
* To directly assign the positions to the nodes.
*/
assign(graph: Graph, options?: GridLayoutOptions): Promise;
private genericGridLayout;
}