/** * Regex pattern for digits only */ export declare const REGEXP_ONLY_DIGITS = "^\\d+$"; /** * Regex pattern for letters only */ export declare const REGEXP_ONLY_CHARS = "^[a-zA-Z]+$"; /** * Regex pattern for digits and letters */ export declare const REGEXP_ONLY_DIGITS_AND_CHARS = "^[a-zA-Z0-9]+$"; /** * Default paste transformer that extracts OTP from pasted text * Matches exactly maxLength digits, not preceded or followed by another digit * * @param maxLength - Maximum length of the OTP * @returns Function that transforms pasted text to extract OTP */ export declare function defaultPasteTransformer(maxLength: number): (pasted: string) => string; //# sourceMappingURL=input-otp.utils.d.ts.map