import type { ImageAndParagraph } from '../types/ImageAndParagraph'; /** * Selecting directly on the image will only capture the image segment. * However, if the selection is made while the image is within a wrapper, it will capture the span that encloses the image. * In the last case, the selection will be marked as <---SelectionMarker---><---Image---><---SelectionMarker--->. * To fix this behavior the extra selection markers are removed. * @internal */ export declare function normalizeImageSelection(imageAndParagraph: ImageAndParagraph): ImageAndParagraph | undefined;