import { type TextFieldProps as AriaTextFieldProps } from 'react-aria-components'; import type { FC } from 'react'; type TextFieldSize = 's' | 'm' | 'l'; type TextFieldWidth = 'auto' | 'full' | 'half' | 'third'; type TextFieldColor = 'neutral' | 'negative'; type TextFieldElementType = 'input' | 'textarea'; interface Props extends Omit { /** 入力フィールドのラベルテキスト */ label?: string; /** ラベル下部の補足説明テキスト */ caption?: string; /** 未入力時のプレースホルダーテキスト */ placeholder?: string; /** 入力フィールドのサイズ */ size?: TextFieldSize; /** 入力フィールドの幅 */ width?: TextFieldWidth; /** 入力フィールドの色テーマ。negativeでエラー状態を表現 */ color?: TextFieldColor; /** 入力要素の種類。textareaで複数行入力に対応 */ component?: TextFieldElementType; } export declare const TextField: FC; export type { TextFieldColor, TextFieldElementType, Props as TextFieldProps, TextFieldSize, TextFieldWidth, };