import type { JSONSupport } from "../../core/JSONSupport.js";

/** @since 5.0 */
export interface AuthoringInfoClassBreakInfoProperties extends Partial<Pick<AuthoringInfoClassBreakInfo, "maxValue" | "minValue">> {}

/** @since 5.0 */
export default class AuthoringInfoClassBreakInfo extends JSONSupport {
  constructor(properties?: AuthoringInfoClassBreakInfoProperties);
  /**
   * The maximum bound of values to visualize in the given field. If a feature's value is greater than
   *   this value, then it will be assigned the default symbol of the renderer.
   *
   * @default 0
   * @since 5.0
   */
  accessor maxValue: number;
  /**
   * The minimum bound of values to visualize in the given field. If a feature's value is less than
   *   this value, then it will be assigned the default symbol of the renderer.
   *
   * @default 0
   * @since 5.0
   */
  accessor minValue: number;
}