import { NonCancelableEventHandler } from '../internal/events/index'; import { PropertyFilterProps } from './interfaces'; /** * This hook generates `onBlur`, `onFocus` and `onLoadItems` handlers that make sure an `onLoadItems` event * fires exactly once every time control they are used on gets focused. * It is neccesary to do this because Autosuggest and Select dedupe their `onLoadItems` events stopping * the same event from firing twice in a row. This means, refocusing the control sometimes results in * `onLoadItems` firing, but sometimes not. */ export declare const useLoadItems: (onLoadItems: PropertyFilterProps['onLoadItems'], focusFilteringText?: string | undefined, currentFilteringProperty?: PropertyFilterProps.FilteringProperty | undefined, currentFilteringText?: string | undefined, currentFilteringOperator?: PropertyFilterProps.ComparisonOperator | undefined) => { onBlur: () => void; onFocus: () => void; onLoadItems: NonCancelableEventHandler; }; //# sourceMappingURL=use-load-items.d.ts.map