UNPKG

2.28 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { PinInput as ArkPinInput } from "@ark-ui/react/pin-input";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const usePinInputStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { usePinInputStyles };
6export interface PinInputRootProviderBaseProps extends Assign<ArkPinInput.RootProviderBaseProps, SlotRecipeProps<"pinInput">>, UnstyledProp {
7}
8export interface PinInputRootProviderProps extends HTMLChakraProps<"div", PinInputRootProviderBaseProps> {
9}
10export declare const PinInputRootProvider: import("react").ForwardRefExoticComponent<PinInputRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface PinInputRootBaseProps extends Assign<ArkPinInput.RootBaseProps, SlotRecipeProps<"pinInput">>, UnstyledProp {
12}
13export interface PinInputRootProps extends HTMLChakraProps<"div", PinInputRootBaseProps> {
14}
15export declare const PinInputRoot: import("react").ForwardRefExoticComponent<PinInputRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const PinInputPropsProvider: React.Provider<PinInputRootBaseProps>;
17export interface PinInputControlProps extends HTMLChakraProps<"div", ArkPinInput.ControlBaseProps> {
18}
19export declare const PinInputControl: import("react").ForwardRefExoticComponent<PinInputControlProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface PinInputInputProps extends HTMLChakraProps<"input", ArkPinInput.InputBaseProps> {
21}
22export declare const PinInputInput: import("react").ForwardRefExoticComponent<PinInputInputProps & import("react").RefAttributes<HTMLInputElement>>;
23export interface PinInputLabelProps extends HTMLChakraProps<"label"> {
24}
25export declare const PinInputLabel: import("react").ForwardRefExoticComponent<PinInputLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
26export declare const PinInputContext: (props: ArkPinInput.ContextProps) => import("react").ReactNode;
27export declare const PinInputHiddenInput: import("react").ForwardRefExoticComponent<ArkPinInput.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
28export interface PinInputValueChangeDetails extends ArkPinInput.ValueChangeDetails {
29}