@maskito/phone
Version:
The optional framework-agnostic Maskito's package with phone masks
11 lines • 588 B
TypeScript
import type { MaskitoPreprocessor } from '@maskito/core';
import type { CountryCode, MetadataJson } from 'libphonenumber-js/core';
/**
* This preprocessor works only once at initialization phase (when `new Maskito(...)` is executed).
* This preprocessor helps to avoid conflicts during transition from one mask to another (for the same input).
*/
export declare function cutInitCountryCodePreprocessor({ countryIsoCode, metadata, }: {
countryIsoCode: CountryCode;
metadata: MetadataJson;
}): MaskitoPreprocessor;
//# sourceMappingURL=cut-init-country-code-preprocessor.d.ts.map