import { AnyLinkType, ILink, ScaleType } from "../../types";
export declare class Link {
    source: string;
    type: AnyLinkType;
    additionalSpacing: ScaleType;
    constructor(props?: ILink);
    /**
     * @description Sets the source of the link.
     * @param source {string} - The `id` of the layer to link.
     */
    setSource(source: string): this;
    /**
     * @description Sets the type of the link.
     * @param type {AnyLinkType} - The `type` of the link.
     */
    setType(type: AnyLinkType): this;
    /**
     * @description Sets the additional spacing of the link.
     * @param additionalSpacing {ScaleType} - The `additionalSpacing` of the link.
     */
    setSpacing(additionalSpacing: ScaleType): this;
}
