/**
 * 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 { DirectionType, GraphTiers, GroupingLayoutBuilder, TieredGraphLayoutBuilder } from '../../types';
import type { BaseLayoutParams } from './common';
import { GraphLayout, GraphLayoutBuilder } from './common';
export interface FcoseLayoutParams extends BaseLayoutParams {
    edgeElasticity: number;
    edgeLength: number;
    energy: number;
    gravity: number;
    gravityRange: number;
    highQuality: boolean;
    iterations: number;
    nodeRepulsion: number;
    nodeSeparation: number;
    tierSeparation: number;
    orientation?: DirectionType;
    tiers?: GraphTiers;
    group?: string;
}
declare class FcoseLayoutBuilder extends GraphLayoutBuilder<FcoseLayout> implements TieredGraphLayoutBuilder, GroupingLayoutBuilder {
    _edgeElasticity: number;
    _edgeLength: number;
    _energy: number;
    _gravity: number;
    _gravityRange: number;
    _highQuality: boolean;
    _iterations: number;
    _nodeRepulsion: number;
    _nodeSeparation: number;
    _tierSeparation: number;
    orientation?: DirectionType;
    tiers: GraphTiers;
    group: string;
    /**
     * Set edge elasticity
     *
     * @param elasticity elasticity parameter
     */
    edgeElasticity(elasticity: number): this;
    /**
     * Set ideal edge length multiplier
     *
     * @param lengthMultiplier length multiplier
     */
    edgeLength(lengthMultiplier: number): this;
    /**
     * Set initial energy on incremental recomputation
     *
     * @param energy energy
     */
    energy(energy: number): this;
    /**
     * Set gravity strength
     *
     * @param gravity gravity
     */
    gravity(gravity: number): this;
    /**
     * Set gravity range
     *
     * @param gravityRange
     */
    gravityRange(gravityRange: number): this;
    /**
     * Toggle high quality mode ('proof' vs 'default')
     *
     * @param highQuality whether to use high quality
     */
    highQuality(highQuality: boolean): this;
    /**
     * Set number of iterations to run for
     *
     * @param iters number of iterations to run for
     */
    iterations(iters: number): this;
    /**
     * Set node repulsion strength
     *
     * @param repulsion repulsion to set
     */
    nodeRepulsion(repulsion: number): this;
    /**
     * Set node separation multiplier
     *
     * @param separation separation
     */
    nodeSeparation(separation: number): this;
    /**
     * Set tier separation
     *
     * @param separation separation
     */
    tierSeparation(separation: number): this;
    build(): FcoseLayout;
}
export default class FcoseLayout extends GraphLayout<FcoseLayoutParams> {
    edgeElasticity: number;
    edgeLength: number;
    energy: number;
    gravity: number;
    gravityRange: number;
    highQuality: boolean;
    iterations: number;
    nodeRepulsion: number;
    nodeSeparation: number;
    tierSeparation: number;
    orientation: DirectionType;
    tiers: GraphTiers;
    group: string;
    constructor(builder: FcoseLayoutBuilder);
    get requiresPosition(): boolean;
    get name(): string;
    static get Builder(): FcoseLayoutBuilder;
    toLayoutParams(): FcoseLayoutParams;
}
export {};
//# sourceMappingURL=fcose-layout.d.ts.map