declare function handleNewline(): (event: KeyboardEvent) => boolean; export default handleNewline;