UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

7 lines (6 loc) 229 B
/** * Splits plain text into size-bounded chunks at readable boundaries. * * Returns the original text as one chunk when the limit is non-positive. */ export declare function chunkText(text: string, limit: number): string[];