/** * Represents the direction of brackets in a bracket pair. * * This determines whether brackets curve inward or outward, * or whether each side has an independent direction. * * @typedef {'outward' | 'inward' | 'left-out-right-in' | 'left-in-right-out'} BracketDirection * * @property {'outward'} outward - Both brackets curve outward, away from the center. * @property {'inward'} inward - Both brackets curve inward, toward the center. * @property {'left-out-right-in'} left-out-right-in - Left bracket curves outward, right bracket curves inward. * @property {'left-in-right-out'} left-in-right-out - Left bracket curves inward, right bracket curves outward. */ export declare type BracketDirection = 'outward' | 'inward' | 'left-out-right-in' | 'left-in-right-out'; /** * Defines the shape of line endings, used for lines. * * @typedef {'none' | 'openArrow' | 'closedArrow' | 'dot' | 'circle' | 'diamond' | 'square' | 'slash' | 'star' | 'bar'} LineCapStyle * * @property {'none'} none - No line ending cap. * @property {'openArrow'} openArrow - Open (unfilled) arrowhead. * @property {'closedArrow'} closedArrow - Closed (filled) arrowhead. * @property {'dot'} dot - Small filled circle at the end. * @property {'circle'} circle - Small unfilled circle. * @property {'diamond'} diamond - Diamond shape, filled. * @property {'square'} square - Square shape, filled. * @property {'slash'} slash - Diagonal line like a slash. * @property {'star'} star - A star symbol. * @property {'bar'} bar - Perpendicular line (short bar). */ export declare type LineCapStyle = 'none' | 'openArrow' | 'closedArrow' | 'dot' | 'circle' | 'diamond' | 'square' | 'slash' | 'star' | 'bar'; /** * Defines the visual shape of a bracket in a bracket object or drawing. * * @typedef {'curly' | 'round' | 'angle' | 'square'} BracketShape * * @property {'curly'} curly - Curly bracket shape, like `{}`. * @property {'round'} round - Round parenthesis shape, like `()`. * @property {'angle'} angle - Angle bracket shape, like `<>`. * @property {'square'} square - Square bracket shape, like `[]`. */ export declare type BracketShape = 'curly' | 'round' | 'angle' | 'square' | 'custom'; /** * Enum representing possible image alignment positions */ export declare enum ImageAlignment { Center = "center", Top = "top", Bottom = "bottom", Left = "left", Right = "right", TopLeft = "top-left", TopRight = "top-right", BottomLeft = "bottom-left", BottomRight = "bottom-right" }