// generated by diplomat-tool
import type { pointer, codepoint } from "./diplomat-runtime.d.ts";



/**
 * See the [Rust documentation for `GraphemeClusterBreakIterator`](https://docs.rs/icu/2.1.1/icu/segmenter/iterators/struct.GraphemeClusterBreakIterator.html) for more information.
 */
export class GraphemeClusterBreakIteratorUtf8 {
    /** @internal */
    get ffiValue(): pointer;
    /** @internal */
    constructor();


    /**
     * Finds the next breakpoint. Returns -1 if at the end of the string or if the index is
     * out of range of a 32-bit signed integer.
     *
     * See the [Rust documentation for `next`](https://docs.rs/icu/2.1.1/icu/segmenter/iterators/struct.GraphemeClusterBreakIterator.html#method.next) for more information.
     */
    next(): number;
}