import { ForceLayoutOptions, Graph, Layout, LayoutMapping } from '@antv/layout';
/**
* 快速力导向布局
*
* Fast force-directed layout
*/
export declare class GForceLayout implements Layout {
options: ForceLayoutOptions;
id: string;
constructor(options?: ForceLayoutOptions);
/**
* Return the positions of nodes and edges(if needed).
*/
execute(graph: Graph, options?: ForceLayoutOptions): Promise;
/**
* To directly assign the positions to the nodes.
*/
assign(graph: Graph, options?: ForceLayoutOptions): Promise;
private genericForceLayout;
private formatOptions;
}