import { type EditorProps as DraftEditorProps, EditorState } from 'draft-js'; type UseReturnHandlerRes = NonNullable; /** * Adds a new unstyled block if the user presses the return key. */ declare const useReturnHandler: (onChange: (value: EditorState) => void, handler: UseReturnHandlerRes) => UseReturnHandlerRes; export default useReturnHandler; //# sourceMappingURL=useReturnHandler.d.ts.map