/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
*/
import type { IJodit } from "../../../../types/index";
/**
* If the selection area is inside an element that matches the commit (suitable relative),
* but does not completely fill it.
* Then the method cuts the parent and leaves itself in a copy of the parent (suitable relative) in the middle.
*
* @example
* Apply strong to
* ```html
* someSELECTEDtext
* ```
* Should extract selection from parent `strong`
* ```html
* `someSELECTEDtest
* ```
* @private
*/
export declare function extractSelectedPart(wrapper: HTMLElement, font: HTMLElement, jodit: IJodit): void;