import React, { FC, MouseEvent, KeyboardEvent } from "react";
import { InputRef } from "antd";
import "./index.less";
export declare const useInputCursor: ({ text }: {
    text?: string;
}) => {
    onCursorChange: (e: MouseEvent<HTMLInputElement> | KeyboardEvent<HTMLInputElement>) => void;
    cursorText: string;
    start: number;
    end: number;
    inputRef: React.MutableRefObject<InputRef>;
    getNewWord: (w: {
        word: string;
        replace: string;
    }) => string;
};
export declare type AutoKeywordsProps = {
    onClick?: (params: {
        word: string;
        replace: string;
    }) => void;
    question?: string;
};
declare const AutoKeywords: FC<AutoKeywordsProps>;
export default AutoKeywords;
