import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { OtpItemState } from "../../composables/createOtp/index.mjs"; //#region src/components/Otp/OtpItem.vue.d.ts interface OtpItemProps extends AtomProps { /** 0-based position within the OTP value */ index: number; /** Namespace for context injection from parent Otp.Root */ namespace?: string; } interface OtpItemSlotProps { /** This box's current character, or '' when empty */ value: string; /** Fill state for this box */ state: OtpItemState; /** Whether the field is disabled */ isDisabled: boolean; /** Whether the field is readonly */ isReadonly: boolean; /** Pre-computed attributes for binding */ attrs: { 'type': 'text'; 'inputmode': 'numeric' | 'text'; 'autocomplete': 'one-time-code'; 'value': string; 'disabled': true | undefined; 'readonly': true | undefined; 'aria-label': string; 'aria-describedby': string | undefined; 'data-state': OtpItemState; 'data-disabled': true | undefined; 'data-readonly': true | undefined; 'onBeforeinput': (e: InputEvent) => void; 'onInput': (e: Event) => void; 'onKeydown': (e: KeyboardEvent) => void; 'onPaste': (e: ClipboardEvent) => void; 'onFocus': (e: FocusEvent) => void; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: OtpItemSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { OtpItemProps, OtpItemSlotProps, _default as default };