type StringIterator<R> = (char: string, index: number, string: string) => R;

export type { StringIterator };
