import { DomMetadata } from '../types/additional.type'; import { ComponentProps } from 'react'; import { IconProps } from '../../../icons'; import { TextField } from '../../TextField'; import { AutocompleteProps } from '../../Autocomplete/Autocomplete.types'; export type SearchAutocompleteConfig = Pick; type TProps = Omit, 'value' | 'onChange' | 'onKeyDown' | 'contentLeft' | 'contentRight' | 'clear'>; export interface SearchBlockProps extends TProps { isVisible?: boolean; iconSize?: IconProps['size']; $isFullHeight?: boolean; } export type SearchingProps = { enabled: boolean; manualSearching?: boolean; defaultSearchQuery?: string; showSearchBlock?: boolean; searchQueryState?: [string, React.Dispatch>]; onDebouncedChange?: (value: string) => void; onChange?: (value: string) => void; debounceDelay?: number; isDebounceActive?: boolean; searchClasses?: string; placeholder?: string; domMetadata?: DomMetadata; searchOnType?: boolean; autocomplete?: SearchAutocompleteConfig; }; export {};