import type { UsePhoneMaskOptions } from '../types'; /** * Svelte composable for phone number masking. * Provides low-level phone masking functionality for custom input implementations. * Works in controlled mode — caller manages value state via onChange callback. * * ⚠️ **Do NOT destructure the returned object.** * All properties are reactive getters. Destructuring breaks reactivity: * ```ts * // ✅ Correct: * const phoneMask = usePhoneMask(options); * phoneMask.digits; // reactive * * // ❌ Wrong — loses reactivity: * const { digits } = usePhoneMask(options); * ``` */ export declare function usePhoneMask(options: UsePhoneMaskOptions): { inputRef: HTMLInputElement | null; readonly digits: string; readonly formatter: import("@desource/phone-mask/kit").FormatterHelpers; readonly full: string; readonly fullFormatted: string; readonly isComplete: boolean; readonly isEmpty: boolean; readonly shouldShowWarn: boolean; readonly country: import("@desource/phone-mask").MaskFull; readonly locale: string; setCountry: (code?: string | null) => boolean; clear: () => void; }; //# sourceMappingURL=usePhoneMask.svelte.d.ts.map