import { Separator } from "../separator/index.js"; import { OTPFieldInput } from "./input/otp-field-input.js"; import { OTPFieldRoot } from "./root/otp-field-root.js"; export type { OTPFieldInputProps, OTPFieldInputState, } from "./input/otp-field-input.js"; export { OTPFieldInput } from "./input/otp-field-input.js"; export type { OTPFieldRootProps } from "./root/otp-field-root.js"; export { OTPFieldRoot } from "./root/otp-field-root.js"; export { getOTPFieldInputState, NOOP_OTP_FIELD_ROOT_CONTEXT, OTPFieldRootContext, type OTPFieldRootContextValue, useOTPFieldRootContext, } from "./root/otp-field-root-context.js"; export type { OTPFieldRootChangeEventDetails, OTPFieldRootChangeEventReason, OTPFieldRootCompleteEventDetails, OTPFieldRootCompleteEventReason, OTPFieldRootInvalidEventDetails, OTPFieldRootInvalidEventReason, OTPFieldRootState, OTPFieldValidationType, } from "./root/otp-field-root-types.js"; export { getOTPValidationConfig, normalizeOTPValue, type OTPValidationType, removeOTPCharacter, replaceOTPValue, stripOTPWhitespace, } from "./utils/otp.js"; /** * Compound-namespace export matching React's `OTPField.{Root,Input,Separator}`. */ export declare const OTPField: { Root: typeof OTPFieldRoot; Input: typeof OTPFieldInput; Separator: typeof Separator; }; //# sourceMappingURL=index.d.ts.map