import type { SyOtpMode } from './input.types'; /** Keeps only the characters an OTP box accepts; pasted text is filtered the same way. */ export declare function otpClean(text: string, mode: SyOtpMode): string; /** * Writes `typed` into the boxes from `index` on (clearing the box when `typed` is empty). * Returns the new box contents; the value is their join. */ export declare function otpWrite(chars: readonly string[], index: number, typed: string): string[];