import type { BlockElement, RegionBase } from 'roosterjs-editor-types'; /** * Get all block elements covered by the selection under this region * @param regionBase The region to get block elements from * @param createBlockIfEmpty When set to true, a new empty block element will be created if there is not * any blocks in the region. Default value is false * @param deprecated Deprecated parameter, not used */ export default function getSelectedBlockElementsInRegion(regionBase: RegionBase, createBlockIfEmpty?: boolean, deprecated?: boolean): BlockElement[];