import { type AriaRole, type FocusEvent } from "react"; import type { SX, ThemeKeys } from "../../theme"; export interface SearchInputProps { value: string; onValueChange: (value: string) => void; id?: string; placeholder?: string; maxLength?: number; isLoading?: boolean; sx?: SX; role?: AriaRole; onFocus?: (event: FocusEvent) => void; onBlur?: (event: FocusEvent) => void; startAdornment?: boolean; endAdornment?: boolean; /** * AutoFocus can cause assesibilty issues when used, especially in forms. * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns */ autoFocus?: boolean; disabled?: boolean; inlineAdornmentPadding?: ThemeKeys<"space">; } export declare const SearchInput: (props: SearchInputProps & import("react").RefAttributes) => import("react").ReactElement> | null;