import React from "react"; type TextareaRef = React.RefObject; interface Props { textareaRef: TextareaRef; value: string; onChange: (value: string) => void; } export declare function FormattingPopup({ textareaRef, value, onChange }: Props): React.JSX.Element | null; export declare function useFormattingShortcuts(textareaRef: TextareaRef, value: string, onChange: (value: string) => void): { onKeyDown: (e: React.KeyboardEvent) => void; popup: React.JSX.Element; }; export {}; //# sourceMappingURL=FormattingPopup.d.ts.map