/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import React from 'react';
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
import { TRIGGER_METHOD } from '@atlaskit/editor-common/analytics';
import type { MatchCaseProps } from '../types';
export declare const FIND_DEBOUNCE_MS = 100;
export type FindProps = {
    count: {
        index: number;
        total: number;
    };
    findText?: string;
    findTyped: boolean;
    onArrowDown: () => void;
    onCancel: ({ triggerMethod, }: {
        triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
    }) => void;
    onFind: (findText?: string) => void;
    onFindBlur: () => void;
    onFindNext: ({ triggerMethod, }: {
        triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
    }) => void;
    onFindPrev: ({ triggerMethod, }: {
        triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
    }) => void;
    onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
    setFindTyped: (value: boolean) => void;
    shouldFocus: boolean;
} & MatchCaseProps;
declare const _default_1: React.FC<WithIntlProps<{
    count: {
        index: number;
        total: number;
    };
    findText?: string;
    findTyped: boolean;
    onArrowDown: () => void;
    onCancel: ({ triggerMethod, }: {
        triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
    }) => void;
    onFind: (findText?: string) => void;
    onFindBlur: () => void;
    onFindNext: ({ triggerMethod, }: {
        triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
    }) => void;
    onFindPrev: ({ triggerMethod, }: {
        triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
    }) => void;
    onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
    setFindTyped: (value: boolean) => void;
    shouldFocus: boolean;
} & MatchCaseProps & WrappedComponentProps>> & {
    WrappedComponent: React.ComponentType<{
        count: {
            index: number;
            total: number;
        };
        findText?: string;
        findTyped: boolean;
        onArrowDown: () => void;
        onCancel: ({ triggerMethod, }: {
            triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.TOOLBAR | TRIGGER_METHOD.BUTTON;
        }) => void;
        onFind: (findText?: string) => void;
        onFindBlur: () => void;
        onFindNext: ({ triggerMethod, }: {
            triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
        }) => void;
        onFindPrev: ({ triggerMethod, }: {
            triggerMethod: TRIGGER_METHOD.KEYBOARD | TRIGGER_METHOD.BUTTON;
        }) => void;
        onFindTextfieldRefSet: (ref: React.RefObject<HTMLInputElement>) => void;
        setFindTyped: (value: boolean) => void;
        shouldFocus: boolean;
    } & MatchCaseProps & WrappedComponentProps>;
};
export default _default_1;
