/** * @fileoverview * Splits text into sentences, handling 220+ common abbreviations, * and inferring acronyms, numbers, URLs, times, names, etc. * * @param inputText - The text to be split into sentences. * @param options - Configuration options for sentence splitting. * @returns An array of sentences. * @author [vtempest (2025)](https://github.com/vtempest) * @license MIT * @example * ```ts * const text = "Dr. Smith went to the U.S. He met Mr. Jones."; * const sentences = splitTextToSentences(text); * ["Dr. Smith went to the U.S.", "He met Mr. Jones."] * ``` */ export declare function splitTextToSentences(inputText: string, options?: SplitSentencesOptions): string[]; export type SplitSentencesOptions = { /** * Split on HTML tags like P, DIV, UL, OL. * @default true */ splitOnHtmlTags?: boolean; /** * Minimum size for a sentence. * @default 20 */ minSize?: number; /** * Maximum size for a sentence. * @default 500 */ maxSize?: number; };