export declare function matchEndOfSentence(text: string): number; export declare class SentenceAggregator { private buffer; private needsLookahead; private pendingPeriodConfirm; push(tokenText: string): string[]; flush(): string | null; private confirmPendingPeriod; private checkSentenceWithLookahead; private drainConfirmedAtBufferEnd; private emitFirstSentenceIfFound; }