import type { Color, Font, HorizontalAlignment, SymbolBase, VerticalAlignment } from "./Symbol.js";
/**
 * Text symbols are used to add text to a feature (labeling).
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/esriTS_symbol/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface TextSymbol extends SymbolBase {
    /**
     * A numeric value that defines the number of degrees (0 to 360) that a text
     * symbol is rotated. The rotation is from East in a counter-clockwise
     * direction where East is the 0° axis.
     */
    angle?: number;
    /**
     * Background color of the text.
     */
    backgroundColor?: Color;
    /**
     * Value indicating the the color of the border line.
     */
    borderLineColor?: Color;
    /**
     * Numeric value indicating the the size of the border line in points.
     */
    borderLineSize?: number;
    /**
     * Color is represented as a four-element array. The four elements represent
     * values for red, green, blue, and alpha in that order. Values range from 0
     * through 255. If color is undefined for a symbol, the color value is
     * null.
     */
    color?: Color;
    /**
     * Font used for text symbols.
     */
    font?: Font;
    /**
     * Color of the halo around the text.
     */
    haloColor?: Color;
    /**
     * Numeric value indicating the point size of a halo around the text symbol.
     */
    haloSize?: number;
    /**
     * The horizontal alignment of the text. See
     * {@link portal/Symbol!HorizontalAlignment}.
     */
    horizontalAlignment?: HorizontalAlignment;
    /**
     * Boolean value indicating whether to adjust the spacing between characters
     * in the text string.
     */
    kerning?: boolean;
    /**
     * Boolean value, set to true if using Hebrew or Arabic fonts.
     */
    rightToLeft?: boolean;
    /**
     * Boolean value indicating whether every character in the text string is
     * rotated.
     */
    rotated?: boolean;
    /**
     * Only applicable when specified as a client-side graphic.
     */
    text?: string;
    /**
     * The vertical alignment of the text. See
     * {@link portal/Symbol!VerticalAlignment}.
     */
    verticalAlignment?: VerticalAlignment;
    /**
     * Numeric value indicating the offset on the x-axis in pixels.
     */
    xoffset?: number;
    /**
     * Numeric value indicating the offset on the y-axis in pixels.
     */
    yoffset?: number;
    /**
     * @inheritDoc
     */
    type: "esriTS";
}
