react-native-advanced-input-mask
Version:
Text input mask for React Native on iOS, Android and web. Synchronous and easy formatting without hustle
8 lines • 409 B
TypeScript
import { AFFINITY_CALCULATION_STRATEGY } from "../../enums";
import type { Mask } from "./Mask";
import type CaretString from "../model/CaretString";
/**
* Calculates an affinity score based on the specified strategy.
*/
export declare function calculateAffinityOfMask(strategy: AFFINITY_CALCULATION_STRATEGY, mask: Mask, text: CaretString): number;
//# sourceMappingURL=affinityCalculationStrategy.d.ts.map