export interface MaskResult {
    maskedValue: string;
    cursorPosition?: number;
}
/**
 * Apply phone mask and calculate new cursor position
 * @param value - The current input value (may be partially formatted)
 * @param mask - The mask pattern (e.g., "(000) 000-0000")
 * @param cursorPosition - Current cursor position
 * @param isDelete - Whether this is a delete operation
 * @returns Object with masked value and new cursor position
 */
export declare function applyMaskWithCursor(value: string, mask: string, cursorPosition: number, isDelete?: boolean): MaskResult;
/**
 * Strip all non-digit characters from a string
 */
export declare function stripNonDigits(value: string): string;
/**
 * Apply mask pattern to a value
 */
export declare function applyMask(value: string, mask: string): string;
//# sourceMappingURL=mask.d.ts.map