import type * as Pinnacle from "../index.js"; /** * Numeric input with optional `min` / `max` bounds and `step` granularity. */ export interface NumberField extends Pinnacle.FieldBase { /** Ghost text shown inside the input while it's empty. */ placeholder?: string; /** Minimum accepted value. */ min?: number; /** Maximum accepted value. */ max?: number; /** Increment between valid values. For example, `step: 0.5` lets the user enter 1, 1.5, 2, etc. */ step?: number; }