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



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

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

    get value(): string;

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

    /**
     * See the [Rust documentation for `Other`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Other) for more information.
     */
    static Other : SentenceBreak;
    /**
     * See the [Rust documentation for `ATerm`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.ATerm) for more information.
     */
    static ATerm : SentenceBreak;
    /**
     * See the [Rust documentation for `Close`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Close) for more information.
     */
    static Close : SentenceBreak;
    /**
     * See the [Rust documentation for `Format`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Format) for more information.
     */
    static Format : SentenceBreak;
    /**
     * See the [Rust documentation for `Lower`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Lower) for more information.
     */
    static Lower : SentenceBreak;
    /**
     * See the [Rust documentation for `Numeric`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Numeric) for more information.
     */
    static Numeric : SentenceBreak;
    /**
     * See the [Rust documentation for `OLetter`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.OLetter) for more information.
     */
    static OLetter : SentenceBreak;
    /**
     * See the [Rust documentation for `Sep`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Sep) for more information.
     */
    static Sep : SentenceBreak;
    /**
     * See the [Rust documentation for `Sp`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Sp) for more information.
     */
    static Sp : SentenceBreak;
    /**
     * See the [Rust documentation for `STerm`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.STerm) for more information.
     */
    static STerm : SentenceBreak;
    /**
     * See the [Rust documentation for `Upper`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Upper) for more information.
     */
    static Upper : SentenceBreak;
    /**
     * See the [Rust documentation for `CR`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.CR) for more information.
     */
    static Cr : SentenceBreak;
    /**
     * See the [Rust documentation for `Extend`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.Extend) for more information.
     */
    static Extend : SentenceBreak;
    /**
     * See the [Rust documentation for `LF`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.LF) for more information.
     */
    static Lf : SentenceBreak;
    /**
     * See the [Rust documentation for `SContinue`](https://docs.rs/icu/2.2.0/icu/properties/props/struct.SentenceBreak.html#associatedconstant.SContinue) for more information.
     */
    static SContinue : SentenceBreak;


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

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

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

    constructor(value: SentenceBreak | string );
}