import React from 'react'; import { type LinkPickerAnalyticsContextType } from '../../common/utils/analytics/analytics.codegen'; type InputFields = 'link' | 'displayText'; /** * Wraps an input field and connects it to the link picker analytics context to provide a baseline of analytics tracking * @param WrappedComponent The input field to be tracked * @param field The name of the field (ie matching actionSubjectId) * @param filterOnChangeEventAttrs Function to hook into and filter/customise the default attribute tracking logic * @returns HOC Input field with tracking */ export declare const withInputFieldTracking:

) => void; onChange?: (e: React.ChangeEvent) => void; onClear?: Function; onFocus?: (e: React.FocusEvent) => void; }, Field extends InputFields>(WrappedComponent: React.ComponentType

, field: Field, filterOnChangeEventAttrs?: >(event: React.ChangeEvent, attributes: OnChangeAttributes) => OnChangeAttributes) => React.ComponentType

; export {};