summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/js/package/lib/ICU4XLineBreakIteratorUtf8.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'intl/icu_capi/js/package/lib/ICU4XLineBreakIteratorUtf8.d.ts')
-rw-r--r--intl/icu_capi/js/package/lib/ICU4XLineBreakIteratorUtf8.d.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/intl/icu_capi/js/package/lib/ICU4XLineBreakIteratorUtf8.d.ts b/intl/icu_capi/js/package/lib/ICU4XLineBreakIteratorUtf8.d.ts
new file mode 100644
index 0000000000..9a576f1224
--- /dev/null
+++ b/intl/icu_capi/js/package/lib/ICU4XLineBreakIteratorUtf8.d.ts
@@ -0,0 +1,18 @@
+import { i32 } from "./diplomat-runtime"
+
+/**
+
+ * See the {@link https://docs.rs/icu/latest/icu/segmenter/struct.LineBreakIterator.html Rust documentation for `LineBreakIterator`} for more information.
+
+ * Additional information: {@link https://docs.rs/icu/latest/icu/segmenter/type.LineBreakIteratorPotentiallyIllFormedUtf8.html 1}
+ */
+export class ICU4XLineBreakIteratorUtf8 {
+
+ /**
+
+ * 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 {@link https://docs.rs/icu/latest/icu/segmenter/struct.LineBreakIterator.html#method.next Rust documentation for `next`} for more information.
+ */
+ next(): i32;
+}