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



/**
 * See the [Rust documentation for `BidiClass`](https://docs.rs/icu/2.1.1/icu/properties/props/struct.BidiClass.html) for more information.
 */
export class BidiClass {

    /** @internal */
    static fromValue(value: BidiClass | string): BidiClass;

    get value(): string;

    /** @internal */
    get ffiValue(): number;

    static LeftToRight : BidiClass;
    static RightToLeft : BidiClass;
    static EuropeanNumber : BidiClass;
    static EuropeanSeparator : BidiClass;
    static EuropeanTerminator : BidiClass;
    static ArabicNumber : BidiClass;
    static CommonSeparator : BidiClass;
    static ParagraphSeparator : BidiClass;
    static SegmentSeparator : BidiClass;
    static WhiteSpace : BidiClass;
    static OtherNeutral : BidiClass;
    static LeftToRightEmbedding : BidiClass;
    static LeftToRightOverride : BidiClass;
    static ArabicLetter : BidiClass;
    static RightToLeftEmbedding : BidiClass;
    static RightToLeftOverride : BidiClass;
    static PopDirectionalFormat : BidiClass;
    static NonspacingMark : BidiClass;
    static BoundaryNeutral : BidiClass;
    static FirstStrongIsolate : BidiClass;
    static LeftToRightIsolate : BidiClass;
    static RightToLeftIsolate : BidiClass;
    static PopDirectionalIsolate : BidiClass;


    /**
     * See the [Rust documentation for `for_char`](https://docs.rs/icu/2.1.1/icu/properties/props/trait.EnumeratedProperty.html#tymethod.for_char) for more information.
     */
    static forChar(ch: codepoint): BidiClass;

    /**
     * Get the "long" name of this property value (returns empty if property value is unknown)
     *
     * See the [Rust documentation for `get`](https://docs.rs/icu/2.1.1/icu/properties/struct.PropertyNamesLongBorrowed.html#method.get) for more information.
     */
    longName(): string | null;

    /**
     * Get the "short" name of this property value (returns empty if property value is unknown)
     *
     * See the [Rust documentation for `get`](https://docs.rs/icu/2.1.1/icu/properties/struct.PropertyNamesShortBorrowed.html#method.get) for more information.
     */
    shortName(): string | null;

    /**
     * Convert to an integer value usable with ICU4C and CodePointMapData
     *
     * See the [Rust documentation for `to_icu4c_value`](https://docs.rs/icu/2.1.1/icu/properties/props/struct.BidiClass.html#method.to_icu4c_value) for more information.
     */
    toIntegerValue(): number;

    /**
     * Convert from an integer value from ICU4C or CodePointMapData
     *
     * See the [Rust documentation for `from_icu4c_value`](https://docs.rs/icu/2.1.1/icu/properties/props/struct.BidiClass.html#method.from_icu4c_value) for more information.
     */
    static fromIntegerValue(other: number): BidiClass | null;

    constructor(value: BidiClass | string );
}