import * as React from 'react'; export interface Props { /** * Component's HTML Element * * @default 'div' */ component?: string | React.ComponentType; /** * Object with Tailwind CSS colors classes * */ colors?: { /** * * @default '' */ inputBgIos?: string; /** * * @default 'bg-md-light-secondary-container dark:bg-md-dark-secondary-container' */ inputBgMaterial?: string; /** * * @default '' */ placeholderIos?: string; /** * * @default 'placeholder-md-light-on-surface-variant dark:placeholder-md-dark-on-surface-variant' */ placeholderMaterial?: string; }; /** * Searchbar placeholder * * @default 'Search' */ placeholder?: string | number; /** * Searchbar value */ value?: any; /** * Input id attribute */ inputId?: string; /** * Additional input classes */ inputStyle?: React.CSSProperties; /** * Adds button for cancel search and set its initial state * * @default false */ disableButton?: boolean; /** * Adds input clear button * * @default true */ clearButton?: boolean; /** * `input` event handler */ onInput?: (e: any) => void; /** * `change` event handler */ onChange?: (e: any) => void; /** * `focus` event handler */ onFocus?: (e: any) => void; /** * `blur` event handler */ onBlur?: (e: any) => void; /** * Fired on clear button click */ onClear?: (e: any) => void; /** * Fired on searchbar disable */ onDisable?: (e: any) => void; } // @ts-ignore interface SearchbarProps extends Omit, keyof Props>, Props { ref?: React.Ref; } declare const Searchbar: React.ComponentType; export default Searchbar;