/*!
 * 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
 * ```
 * <p><string>test</strong>pop|</p> => pop
 * <p><string>test|</strong>pop</p> => test
 * <p><string>te|st</strong>pop</p> => te
 * ```
 */
export declare function getTextLeftOfCursor(range: Range): string;
/**
 * For collapsed selection replace part of left text value before cursor but started after space
 * @example
 * ```
 * <p><string>test</strong>pap|</p> + pappy = <p><string>test</strong>pappy|</p>
 * <p><string>test</strong>pap| test</p> + pappy = <p><string>test</strong>pappy| test</p>
 * <p><string>test</strong>stat pap| test</p> + pappy = <p><string>test</strong>stat pappy| test</p>
 * ```
 */
export declare function replaceTextLeftOfCursorAfterSpace(range: Range, elm: Node): void;
