import type { InputHTMLAttributes, Ref } from 'react'; import { type FieldBoxSize } from './fieldBox.js'; export interface SearchInputProps extends Omit, 'value' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'className'> { value: string; onValueChange: (value: string) => void; /** Names the box, and is its placeholder unless `placeholder` says otherwise. */ label?: string | undefined; /** `sm` for dense places such as toolbars and table cells, `lg` for a form that stands alone, * such as sign-in. */ size?: FieldBoxSize | undefined; /** On the wrapper: its width or margin. */ className?: string | undefined; ref?: Ref | undefined; } /** A box that narrows what is shown as you type, such as a panel's rows or a log's lines. * A clear button empties it, and so does Escape, without closing the dialog it sits in. For * a list page's toolbar, which keeps search terms and opens on ⌘F, use `ListSearchControl`. */ export declare function SearchInput({ value, onValueChange, label, placeholder, size, className, onKeyDown, ref, ...props }: SearchInputProps): import("react").JSX.Element;