import React from "react"; import type { InputTextProps, InputTextRef } from "../InputText"; export declare const InputSearch: React.ForwardRefExoticComponent>; export interface InputSearchProps extends Pick { /** * A callback function that handles the update of the new value of the property value. */ readonly onChange: (newValue: string) => void; /** * A callback function that handles the API call to search the value. This is where the * wait value is applied to the debounce function to give a delay in each input and API request. */ readonly onDebouncedChange: (searchValue: string) => void; /** * Set the component to a given value */ readonly value: string; /** * A numeric value to represents the milliseconds in delaying the function to populate * the data source when the 'value' changed. * @default 300 */ readonly wait?: number; }