1// generated by diplomat-tool 2import type { BidiParagraph } from "./BidiParagraph" 3import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 4 5 6/** An object containing bidi information for a given string, produced by `for_text()` on `Bidi` 7* 8*See the [Rust documentation for `BidiInfo`](https://docs.rs/unicode_bidi/latest/unicode_bidi/struct.BidiInfo.html) for more information. 9*/ 10 11 12export class BidiInfo { 13 14 get ffiValue(): pointer; 15 16 get paragraphCount(): number; 17 18 paragraphAt(n: number): BidiParagraph | null; 19 20 get size(): number; 21 22 levelAt(pos: number): number; 23}