/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
/**
* For collapsed selection return left text value before cursor
* @example
* ```
*
testpop|
=> pop
* test|pop
=> test
* te|stpop
=> te
* ```
*/
export declare function getTextLeftOfCursor(range: Range): string;
/**
* For collapsed selection replace part of left text value before cursor but started after space
* @example
* ```
* testpap|
+ pappy = testpappy|
* testpap| test
+ pappy = testpappy| test
* teststat pap| test
+ pappy = teststat pappy| test
* ```
*/
export declare function replaceTextLeftOfCursorAfterSpace(range: Range, elm: Node): void;