import { TextRange } from '../commands'; export default function getSurroundingWord(text: string, position: number): TextRange;