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

export type LineBreakOptions_obj = {
    strictness?: LineBreakStrictness | null;
    wordOption?: LineBreakWordOption | null;
};



/**
 * See the [Rust documentation for `LineBreakOptions`](https://docs.rs/icu/2.2.0/icu/segmenter/options/struct.LineBreakOptions.html) for more information.
 */
export class LineBreakOptions {
    get strictness(): LineBreakStrictness | null;
    set strictness(value: LineBreakStrictness | null);
    get wordOption(): LineBreakWordOption | null;
    set wordOption(value: LineBreakWordOption | null);
    /** @internal */
    static fromFields(structObj : LineBreakOptions_obj) : LineBreakOptions;

    /**
    * Create `LineBreakOptions` from an object that contains all of `LineBreakOptions`s fields.
    * Optional fields do not need to be included in the provided object.
    */
    constructor(structObj: LineBreakOptions_obj);

}