import { t as convertMarkdownTables } from "./tables-BBMGs0qO.js";
import { a as sanitizeAssistantVisibleTextWithProfile, d as stripToolCallXmlTags, i as sanitizeAssistantVisibleTextWithOptions, o as stripAssistantInternalScaffolding, r as sanitizeAssistantVisibleText, t as AssistantVisibleTextSanitizerProfile } from "./assistant-visible-text-CxJcwpd7.js";
import { n as hasSystemMark, r as prefixSystemMessage, t as SYSTEM_MARK } from "./system-message-BaqODHMh.js";
import { n as isAutoLinkedFileRef, t as FILE_REF_EXTENSIONS_WITH_TLD } from "./auto-linked-file-ref-5zRwmLog.js";
import { A as MarkdownStyle, C as renderMarkdownWithMarkers, D as MarkdownIR, E as renderMarkdownIRChunksWithinLimit, F as chunkMarkdownIR, I as markdownToIR, L as markdownToIRWithMeta, M as MarkdownTableCell, O as MarkdownLinkSpan, P as MarkdownTableMeta, R as sliceMarkdownIR, S as RenderStyleMarker, _ as findCodeRegions, b as RenderOptions, c as stripInlineDirectiveTagsFromMessageForDisplay, d as ReasoningTagMode, g as CodeRegion, h as stripReasoningTagsFromText, j as MarkdownStyleSpan, k as MarkdownParseOptions, l as sanitizeTerminalText, n as DisplayMessageWithContent, o as stripInlineDirectiveTagsForDelivery, p as ReasoningTagTrim, r as InlineDirectiveParseResult, s as stripInlineDirectiveTagsForDisplay, t as chunkItems, u as stripMarkdown, v as isInsideCode, w as RenderMarkdownIRChunksWithinLimitOptions, x as RenderStyleMap, y as RenderLink } from "./chunk-items-CvdlhtPH.js";

//#region src/plugin-sdk/text-chunking.d.ts
/**
 * Splits outbound channel text into chunks no longer than the requested limit.
 * Newline boundaries win over spaces; text without usable separators falls back
 * to a hard character split so channel senders always receive bounded strings.
 */
declare function chunkTextForOutbound(text: string, limit: number): string[];
//#endregion
export { type AssistantVisibleTextSanitizerProfile, type CodeRegion, type DisplayMessageWithContent, FILE_REF_EXTENSIONS_WITH_TLD, type InlineDirectiveParseResult, type MarkdownIR, type MarkdownLinkSpan, type MarkdownParseOptions, type MarkdownStyle, type MarkdownStyleSpan, type MarkdownTableCell, type MarkdownTableMeta, type ReasoningTagMode, type ReasoningTagTrim, type RenderLink, type RenderMarkdownIRChunksWithinLimitOptions, type RenderOptions, type RenderStyleMap, type RenderStyleMarker, SYSTEM_MARK, chunkItems, chunkMarkdownIR, chunkTextForOutbound, convertMarkdownTables, findCodeRegions, hasSystemMark, isAutoLinkedFileRef, isInsideCode, markdownToIR, markdownToIRWithMeta, prefixSystemMessage, renderMarkdownIRChunksWithinLimit, renderMarkdownWithMarkers, sanitizeAssistantVisibleText, sanitizeAssistantVisibleTextWithOptions, sanitizeAssistantVisibleTextWithProfile, sanitizeTerminalText, sliceMarkdownIR, stripAssistantInternalScaffolding, stripInlineDirectiveTagsForDelivery, stripInlineDirectiveTagsForDisplay, stripInlineDirectiveTagsFromMessageForDisplay, stripMarkdown, stripReasoningTagsFromText, stripToolCallXmlTags };