import { OmitInternalProps } from '../../type-utils/omit-props'; import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react/styled-system'; import { SearchFieldProps as RaSearchFieldProps } from 'react-aria-components'; type SearchInputRecipeProps = { /** * Size variant of the search input * @default "md" */ size?: SlotRecipeProps<"nimbusSearchInput">["size"]; /** * Visual style variant of the search input * @default "solid" */ variant?: SlotRecipeProps<"nimbusSearchInput">["variant"]; }; export type SearchInputRootSlotProps = HTMLChakraProps<"div", SearchInputRecipeProps>; export type SearchInputLeadingElementSlotProps = HTMLChakraProps<"div">; export type SearchInputInputSlotProps = HTMLChakraProps<"input">; export type SearchInputProps = OmitInternalProps & Omit & { /** * Ref forwarding to the input element */ ref?: React.Ref; /** * Placeholder text for the search input */ placeholder?: string; }; export {};