import { Wysiwyg, WysiwygEvent } from "@matrix-org/matrix-wysiwyg";
import { IEventRelation } from "matrix-js-sdk/src/matrix";
import Autocomplete from "../../Autocomplete";
export declare function useInputEventProcessor(onSend: () => void, autocompleteRef: React.RefObject<Autocomplete>, initialContent?: string, eventRelation?: IEventRelation): (event: WysiwygEvent, composer: Wysiwyg, editor: HTMLElement) => WysiwygEvent | null;
