import type { NobjcObject } from "objc-js";
import type { _NSFormatter } from "./NSFormatter.js";
import type { _NSNumberFormatter } from "./NSNumberFormatter.js";
import type { _NSString } from "./NSString.js";
import type { NSFormattingUnitStyle } from "./NSFormattingUnitStyle.js";
import type { NSLengthFormatterUnit } from "./NSLengthFormatterUnit.js";
export declare class _NSLengthFormatter extends _NSFormatter {
    static alloc(): _NSLengthFormatter;
    static new(): _NSLengthFormatter;
    init(): _NSLengthFormatter;
    /** Format a combination of a number and an unit to a localized string. */
    stringFromValue$unit$(value: number, unit: NSLengthFormatterUnit): _NSString;
    /**
     * Format a number in meters to a localized string with the locale-appropriate unit and an appropriate scale (e.g. 4.3m = 14.1ft in the US locale).
     */
    stringFromMeters$(numberInMeters: number): _NSString;
    /**
     * Return a localized string of the given unit, and if the unit is singular or plural is based on the given number.
     */
    unitStringFromValue$unit$(value: number, unit: NSLengthFormatterUnit): _NSString;
    /** Return the locale-appropriate unit, the same unit used by -stringFromMeters:. */
    unitStringFromMeters$usedUnit$(numberInMeters: number, unitp: NobjcObject | null): _NSString;
    /** No parsing is supported. This method will return NO. */
    getObjectValue$forString$errorDescription$(obj: NobjcObject | null, string_: _NSString, error: NobjcObject | null): boolean;
    /** default is NSNumberFormatter with NSNumberFormatterDecimalStyle */
    numberFormatter(): _NSNumberFormatter;
    setNumberFormatter$(value: _NSNumberFormatter): void;
    /** default is NSFormattingUnitStyleMedium */
    unitStyle(): NSFormattingUnitStyle;
    setUnitStyle$(value: NSFormattingUnitStyle): void;
    /**
     * default is NO; if it is set to YES, the number argument for -stringFromMeters: and -unitStringFromMeters: is considered as a person's height
     */
    forPersonHeightUse(): boolean;
    setForPersonHeightUse$(value: boolean): void;
}
