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



/**
 * The sign of a Decimal, as shown in formatting.
 *
 * See the [Rust documentation for `Sign`](https://docs.rs/fixed_decimal/0.7.2/fixed_decimal/enum.Sign.html) for more information.
 */
export class DecimalSign {

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

    get value(): string;

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

    /**
     * No sign (implicitly positive, e.g., 1729).
     */
    static None : DecimalSign;
    /**
     * A negative sign, e.g., -1729.
     */
    static Negative : DecimalSign;
    /**
     * An explicit positive sign, e.g., +1729.
     */
    static Positive : DecimalSign;


    constructor(value: DecimalSign | string );
}