Add components

This commit is contained in:
2025-09-29 11:24:36 +02:00
parent 6d1050c6cb
commit 620d4144b5
3748 changed files with 902194 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/**
* GraphemerIterator
*
* Takes a string and a "BreakHandler" method during initialisation
* and creates an iterable object that returns individual graphemes.
*
* @param str {string}
* @return GraphemerIterator
*/
declare class GraphemerIterator implements Iterator<string> {
private _index;
private _str;
private _nextBreak;
constructor(str: string, nextBreak: (str: string, index: number) => number);
[Symbol.iterator](): this;
next(): {
value: string;
done: boolean;
};
}
export default GraphemerIterator;
//# sourceMappingURL=GraphemerIterator.d.ts.map