import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; import type { OTPFieldInputState } from "../root/otp-field-root-types.js"; export type { OTPFieldInputState }; export interface OTPFieldInputProps extends Omit, "value"> { /** * Tag/component to render. Defaults to `"input"`. Replaces the * pre-spike `render` prop (axis G). */ as?: ValidComponent; } /** * A single OTP slot. Renders an `` (or `as` override). * * ยง1 wave 2: replaces `renderElement` with `dynamic(() => props.as ?? "input")`. * Field-validity attrs flow through `fieldStateAttrs(inputState)`; OTP-specific * presence attrs (`data-complete`, `data-disabled`, `data-readonly`, * `data-required`) are emitted as inline reactive getters on the internal slot * bag. */ export declare function OTPFieldInput(props: OTPFieldInputProps): JSX.Element; //# sourceMappingURL=otp-field-input.d.ts.map