import _default, { OtpItemsContext, OtpRootContext, OtpRootEmits, OtpRootExpose, OtpRootProps, OtpRootSlotProps, provideOtpItems, provideOtpRoot, useOtpItems, useOtpRoot } from "./OtpRoot.vue.mjs";
import _default$1, { OtpItemProps, OtpItemSlotProps } from "./OtpItem.vue.mjs";
import _default$2, { OtpHiddenInputProps } from "./OtpHiddenInput.vue.mjs";
//#region src/components/Otp/index.d.ts
/**
* Otp component with sub-components for building one-time-password /
* verification-code inputs.
*
* Provides a headless, accessible OTP field with auto-advance on input,
* backspace-back and arrow-key navigation between boxes, paste
* distribution across boxes, per-character pattern matching, and a
* `@complete` event when the value fills. Uses `createOtp` internally for
* value management.
*
* @see https://0.vuetifyjs.com/components/forms/otp
*
* @example
* ```vue
*
*
*
*
*
*
*
* ```
*/
declare const Otp: {
/**
* Root component for OTP fields.
*
* Creates OTP context via `createOtp`, provides it to child
* components, and bridges v-model. Tracks per-item element refs so
* Item can move focus between boxes. When `name` prop is provided,
* automatically renders a hidden input for form submission.
*
* @see https://0.vuetifyjs.com/components/forms/otp
*
* @example
* ```vue
*
*
*
*
*
*
*
* ```
*/
Root: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
"onUpdate:model-value"?: ((value: string) => any) | undefined;
onComplete?: ((value: string) => any) | undefined;
}>, OtpRootExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (value: string) => any;
"update:model-value": (value: string) => any;
complete: (value: string) => any;
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
"onUpdate:model-value"?: ((value: string) => any) | undefined;
onComplete?: ((value: string) => any) | undefined;
}>, OtpRootExpose, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
"onUpdate:model-value"?: ((value: string) => any) | undefined;
onComplete?: ((value: string) => any) | undefined;
}>, OtpRootExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (value: string) => any;
"update:model-value": (value: string) => any;
complete: (value: string) => any;
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: OtpRootSlotProps) => any;
};
});
/**
* A single character box within an OTP field.
*
* Consumes Otp context and renders its character from the value at
* `index`. Handles auto-advance to the next box on input,
* backspace-back when empty, arrow-key movement between boxes, and
* paste distribution across siblings starting at this box. Exposes
* fill state via `data-state` for CSS-only styling.
*
* In renderless mode the consumer must call
* `register({ id: index, value: el })` (via `useOtpItems`) with the
* real input; otherwise auto-advance, arrow, and paste-focus no-op.
*
* @see https://0.vuetifyjs.com/components/forms/otp#anatomy
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
Item: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: OtpItemSlotProps) => any;
};
});
/**
* Hidden native input for form submission.
*
* Auto-rendered by Root when the `name` prop is provided. Submits
* the current joined OTP value as part of the form. Can also be
* used explicitly for custom form integration scenarios where you
* need manual control over the hidden input placement.
*
* @see https://0.vuetifyjs.com/components/forms/otp
* @internal
*
* @example
* ```vue
*
*
*
*
*
*
*
* ```
*/
HiddenInput: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
};
//#endregion
export { Otp, _default$2 as OtpHiddenInput, type OtpHiddenInputProps, _default$1 as OtpItem, type OtpItemProps, type OtpItemSlotProps, type OtpItemsContext, _default as OtpRoot, type OtpRootContext, type OtpRootEmits, type OtpRootExpose, type OtpRootProps, type OtpRootSlotProps, provideOtpItems, provideOtpRoot, useOtpItems, useOtpRoot };