/**
 * Copyright 2023 Impulse Innovations Limited
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import type { BaseLayoutParams } from './common';
import { GraphLayout, GraphLayoutBuilder } from './common';
declare class ForceAtlasLayoutBuilder extends GraphLayoutBuilder<ForceAtlasLayout> {
    _barnesHutOptimize: boolean;
    _edgeWeightInfluence: number;
    _gravity: number;
    _iterations: number;
    _linLogMode: boolean;
    _outboundAttractionDistribution: boolean;
    _scalingRatio: number;
    _strongGravityMode: boolean;
    /**
     * Toggle Barnes-Hut optimization
     *
     * @param optimize whether to enable the optimization
     */
    barnesHutOptimize(optimize: boolean): this;
    /**
     * Set the influence of the edge’s weights on the layout
     *
     * @param influence influence parameter
     */
    edgeWeightInfluence(influence: number): this;
    /**
     * Set the gravity parameter
     *
     * @param grav gravity param
     */
    gravity(grav: number): this;
    /**
     * Set the number of iterations to run at once
     *
     * @param iters number of iters to run
     */
    iterations(iters: number): this;
    /**
     * Toggle linLog mode
     *
     * @param linLog whether to enable linLog mode
     */
    linLogMode(linLog: boolean): this;
    /**
     * Toggle outboundAttractionDistribution mode
     *
     * @param attractionDistribution whether to enable attraction distribution mode
     */
    outboundAttractionDistribution(attractionDistribution: boolean): this;
    /**
     * Set the scaling ratio
     *
     * @param ratio new scaling ratio
     */
    scalingRatio(ratio: number): this;
    /**
     * Toggle strong gravity mode
     *
     * @param enableStrongGravity whether to enable the strong gravity mode
     */
    strongGravityMode(enableStrongGravity: boolean): this;
    build(): ForceAtlasLayout;
}
export interface ForceAtlasLayoutParams extends BaseLayoutParams {
    barnesHutOptimize: boolean;
    edgeWeightInfluence: number;
    gravity: number;
    iterations: number;
    linLogMode: boolean;
    outboundAttractionDistribution: boolean;
    scalingRatio: number;
    strongGravityMode: boolean;
}
export default class ForceAtlasLayout extends GraphLayout<ForceAtlasLayoutParams> {
    barnesHutOptimize: boolean;
    edgeWeightInfluence: number;
    gravity: number;
    iterations: number;
    linLogMode: boolean;
    outboundAttractionDistribution: boolean;
    scalingRatio: number;
    strongGravityMode: boolean;
    constructor(builder: ForceAtlasLayoutBuilder);
    get name(): string;
    static get Builder(): ForceAtlasLayoutBuilder;
    toLayoutParams(): ForceAtlasLayoutParams;
}
export {};
//# sourceMappingURL=force-atlas-layout.d.ts.map