import type { AsChildTypes } from "../types"; import type { BindableProps } from "../types"; import { type PropsOf, Signal } from "@qwik.dev/core"; export interface OTPContext { code: Signal; currentIndex: Signal; nativeInputRef: Signal; isFocused: Signal; isDisabled: Signal; selectionStart: Signal; selectionEnd: Signal; shiftPWManagers: boolean; hasBeenFocused: Signal; numItems: number; isField: Signal; } export declare const OTPContextId: import("@qwik.dev/core").ContextId; type PublicOtpRootProps = Omit, "onChange$"> & { /** Event handler for when all OTP items are filled */ onComplete$?: () => void; /** Event handler for when the OTP value changes */ onChange$?: (value: string) => void; /** Whether password manager popups should shift to the right of the OTP. By default enabled */ shiftPWManagers?: boolean; } & BindableProps<{ value: string; disabled: boolean; }>; /** Base implementation of the OTP root component with context provider */ export declare const OtpRoot: import("@qwik.dev/core").Component; export {};