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



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

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

    get value(): string;

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

    /**
     * See the [Rust documentation for `NonJoining`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.JoiningType.html#associatedconstant.NonJoining) for more information.
     */
    static NonJoining : JoiningType;
    /**
     * See the [Rust documentation for `JoinCausing`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.JoiningType.html#associatedconstant.JoinCausing) for more information.
     */
    static JoinCausing : JoiningType;
    /**
     * See the [Rust documentation for `DualJoining`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.JoiningType.html#associatedconstant.DualJoining) for more information.
     */
    static DualJoining : JoiningType;
    /**
     * See the [Rust documentation for `LeftJoining`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.JoiningType.html#associatedconstant.LeftJoining) for more information.
     */
    static LeftJoining : JoiningType;
    /**
     * See the [Rust documentation for `RightJoining`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.JoiningType.html#associatedconstant.RightJoining) for more information.
     */
    static RightJoining : JoiningType;
    /**
     * See the [Rust documentation for `Transparent`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.JoiningType.html#associatedconstant.Transparent) for more information.
     */
    static Transparent : JoiningType;


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

    /**
     * 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.2.0/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.2.0/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.2.0/icu/properties/props/struct.JoiningType.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.2.0/icu/properties/props/struct.JoiningType.html#method.from_icu4c_value) for more information.
     */
    static fromIntegerValue(other: number): JoiningType | null;

    static tryFromStr(s: string): JoiningType | null;

    constructor(value: JoiningType | string );
}