import { RangeSide, Matcher } from '../../../../../../../src/types'; import * as React from 'react'; interface MatcherEditProps { active: boolean; matcher?: Matcher; rangeSide?: RangeSide; first: boolean; onMatcherChanged: (matcher: Matcher | null, clearActive: boolean, fromHint?: boolean) => void; onValidate?: (matcher: Matcher) => string | null; onFocus?: () => void; onCancel?: () => void; onEditPrevious: (deleting: boolean) => void; onEditNext?: () => void; onInsertMatcher?: (matcher: Matcher) => void; onError: (error: string | null) => void; onDeleteMatcher?: (matcher: Matcher) => void; onRevokeFocus?: () => void; onTextAvailable?: (available: boolean) => void; } export interface MatcherEditElement { focus: () => void; blur: () => void; clearEdit: () => void; } declare const MatcherEdit: React.ForwardRefExoticComponent>; export default MatcherEdit;