/** * An enumeration of possible closed shapes. * @public */ export declare enum ClosedShape { /** * An ellipse shape. * @public */ Ellipse = "ellipse", /** * A nonexistent shape. * @public */ Empty = "empty", /** * A folder-like shape. * @public */ Folder = "folder", /** * An hexagon shape. * @public */ Hexagon = "hexagon", /** * An octagon shape. * @public */ Octagon = "octagon", /** * A shape delimited by curves with a fixed radius, with differences in dimensions supplemented by straight lines. * @public */ Pill = "pill", /** * A rectangle shape. * @public */ Rectangle = "rectangle", /** * A rhombus shape. * @public */ Rhombus = "rhombus", /** * A rectangle shape with rounded corners. * @public */ RoundedRectangle = "rounded-rectangle", /** * A sticky note-like shape. * @public */ StickyNote = "sticky-note" } /** * A function that returns the `d` attribute for a SVG path that starting at the given `x` and `y` coordinates describes a shape of the given `width` and `height`. * @public */ export type ShapeFunction = (x: number, y: number, width: number, height: number) => string; /** * Get the SVG path of the correspondign closed shape, starting at the given x and y coordinates, with the given width and height. * @private */ export declare const generalClosedPath: (shape: ClosedShape | ShapeFunction, x: number, y: number, width: number, height: number) => string; /** * Generates an ellipse SVG path. * @private * @see ClosedShape */ export declare const ellipsePath: (x: number, y: number, width: number, height: number) => string; /** * Generates an empty SVG path. * @private * @see ClosedShape */ export declare const emptyPath: () => string; /** * Generates a folder SVG path. * @private * @see ClosedShape */ export declare const folderPath: (x: number, y: number, width: number, height: number) => string; /** * Generates an hexagon SVG path. * @private * @see ClosedShape */ export declare const hexagonPath: (x: number, y: number, width: number, height: number) => string; /** * Generates an octagon SVG path. * @private * @see ClosedShape */ export declare const octagonPath: (x: number, y: number, width: number, height: number) => string; /** * Generates a pill SVG path. * @private * @see ClosedShape */ export declare const pillPath: (x: number, y: number, width: number, height: number) => string; /** * Generates a rectangle SVG path. * @private * @see ClosedShape */ export declare const rectanglePath: (x: number, y: number, width: number, height: number) => string; /** * Generates a rhombus SVG path. * @private * @see ClosedShape */ export declare const rhombusPath: (x: number, y: number, width: number, height: number) => string; /** * Generates a rounded rectangle SVG path. * @private * @see ClosedShape */ export declare const roundedRectanglePath: (x: number, y: number, width: number, height: number) => string; /** * Generates a sticky note SVG path. * @private * @see ClosedShape */ export declare const stickyNotePath: (x: number, y: number, width: number, height: number) => string;