/** * SvMaskedInput - a pattern-masked text input (#=digit, A=letter, *=alnum; * other chars are literals). Parity: Smart `smart-masked-text-box`. Emits both * the masked display value and the raw (unmasked) value. * * The styled renderer over the headless `createMaskedInput` core; the mask * formatting + state live in the core, spread here via prop-getters. The box, * size, invalid state, clear button and adornments are owned by SvField's * `frame` chrome. */ import type { Snippet } from 'svelte'; import { type SvEditorProps } from './editor-contract'; type Props = SvEditorProps & { value?: string; /** Called with (masked, raw, complete). */ onChange?: (masked: string, raw: string, complete: boolean) => void; mask?: string; placeholder?: string; /** Show a clear (x) button when there is a value. */ clearable?: boolean; /** Leading adornment (icon/button) inside the field. */ leading?: Snippet; /** Trailing adornment (icon/button) inside the field. */ trailing?: Snippet; /** Plain-text affix at the start. */ prefix?: string; /** Plain-text affix at the end. */ suffix?: string; /** @deprecated Use `leading`. */ prefixIcon?: Snippet; /** @deprecated Use `trailing`. */ suffixIcon?: Snippet; /** Stretch to the container width. */ block?: boolean; /** Control width in px (ignored when `block`). Default 200. */ width?: number; }; declare const SvMaskedInput: import("svelte").Component; type SvMaskedInput = ReturnType; export default SvMaskedInput;