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



/**
 * See the [Rust documentation for `YearStyle`](https://docs.rs/icu/2.2.0/icu/datetime/options/enum.YearStyle.html) for more information.
 */
export class YearStyle {

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

    get value(): string;

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

    static Auto : YearStyle;
    static Full : YearStyle;
    static WithEra : YearStyle;
    static NoEra : YearStyle;


    constructor(value: YearStyle | string );
}