import { JSX } from 'solid-js'; export interface OTPInputProps { value?: string; onChange?: (value: string) => void; onComplete?: (value: string) => void; length?: number; error?: string; /** * Visual error state without inline text. Use when the message is rendered * elsewhere (e.g. an AlertPanel) but the digits should still show danger styling. */ hasError?: boolean; disabled?: boolean; autoFocus?: boolean; class?: string; className?: string; } export declare function OTPInput(props: OTPInputProps): JSX.Element; export declare namespace OTPInput { var displayName: string; }