/** * Shared formatting helpers for connector format modules. * Each platform keeps its own markdown converter and length limit; * the chunking algorithm lives here. */ /** * Apply a conversion to the non-code segments of a markdown text, * leaving code blocks and inline code untouched. */ export declare function convertOutsideCode(text: string, convert: (segment: string) => string): string; /** * Split text into chunks that fit within a platform's message length limit, * preferring newline boundaries, then spaces, then a hard split. */ export declare function chunkText(text: string, maxLength: number): string[]; /** * Convert text with the platform's markdown converter, then split into * chunks under the platform's message length limit. */ export declare function formatAndChunk(text: string, maxLength: number, converter?: (text: string) => string): string[]; //# sourceMappingURL=format.d.ts.map