import type { MarkdownRange, MarkdownType } from './commonTypes'; declare function sortRanges(ranges: MarkdownRange[]): MarkdownRange[]; declare function groupRanges(ranges: MarkdownRange[]): MarkdownRange[]; declare function ungroupRanges(ranges: MarkdownRange[]): MarkdownRange[]; /** * Creates a list of ranges that should not be formatted by certain markdown types (italic, strikethrough). * This includes emojis and syntaxes of inline code blocks. */ declare function getRangesToExcludeFormatting(ranges: MarkdownRange[]): MarkdownRange[]; /** * Splits ranges of a specific type from being formatted by specified markdown types (e.g., 'emoji', 'syntax'). * @param ranges - The array of MarkdownRange objects to process. * @param baseMarkdownType - The base markdown type to exclude formatting from (e.g., 'italic'). * @param rangesToExclude - The array of MarkdownRange objects representing the ranges to exclude from formatting. */ declare function excludeRangeTypesFromFormatting(ranges: MarkdownRange[], baseMarkdownType: MarkdownType, rangesToExclude: MarkdownRange[]): MarkdownRange[]; export { sortRanges, groupRanges, ungroupRanges, excludeRangeTypesFromFormatting, getRangesToExcludeFormatting }; //# sourceMappingURL=rangeUtils.d.ts.map