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



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

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

    get value(): string;

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

    /**
     * See the [Rust documentation for `Other`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.Other) for more information.
     */
    static Other : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `Control`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.Control) for more information.
     */
    static Control : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `CR`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.CR) for more information.
     */
    static Cr : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `Extend`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.Extend) for more information.
     */
    static Extend : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `L`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.L) for more information.
     */
    static L : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `LF`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.LF) for more information.
     */
    static Lf : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `LV`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.LV) for more information.
     */
    static Lv : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `LVT`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.LVT) for more information.
     */
    static Lvt : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `T`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.T) for more information.
     */
    static T : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `V`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.V) for more information.
     */
    static V : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `SpacingMark`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.SpacingMark) for more information.
     */
    static SpacingMark : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `Prepend`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.Prepend) for more information.
     */
    static Prepend : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `RegionalIndicator`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.RegionalIndicator) for more information.
     */
    static RegionalIndicator : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `EBase`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.EBase) for more information.
     */
    static EBase : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `EBaseGAZ`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.EBaseGAZ) for more information.
     */
    static EBaseGaz : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `EModifier`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.EModifier) for more information.
     */
    static EModifier : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `GlueAfterZwj`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.GlueAfterZwj) for more information.
     */
    static GlueAfterZwj : GraphemeClusterBreak;
    /**
     * See the [Rust documentation for `ZWJ`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.GraphemeClusterBreak.html#associatedconstant.ZWJ) for more information.
     */
    static Zwj : GraphemeClusterBreak;


    /**
     * 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): GraphemeClusterBreak;

    /**
     * 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.GraphemeClusterBreak.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.GraphemeClusterBreak.html#method.from_icu4c_value) for more information.
     */
    static fromIntegerValue(other: number): GraphemeClusterBreak | null;

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

    constructor(value: GraphemeClusterBreak | string );
}