import type { NobjcObject } from "objc-js";
import type { _NSArray } from "./NSArray.js";
import type { _NSFormatter } from "./NSFormatter.js";
import type { _NSLocale } from "./NSLocale.js";
import type { _NSString } from "./NSString.js";
export declare class _NSListFormatter extends _NSFormatter {
    static alloc(): _NSListFormatter;
    static new(): _NSListFormatter;
    init(): _NSListFormatter;
    /**
     * Convenience method to return a string constructed from an array of strings using the list format specific to the current locale. It is recommended to join only disjointed strings that are ready to display in a bullet-point list. Sentences, phrases with punctuations, and appositions may not work well when joined together.
     */
    static localizedStringByJoiningStrings$(strings: _NSArray): _NSString;
    /**
     * Convenience method for -stringForObjectValue:. Returns a string constructed from an array in the locale-aware format. Each item is formatted using the itemFormatter. If the itemFormatter does not apply to a particular item, the method will fall back to the item's -descriptionWithLocale: or -localizedDescription if implemented, or -description if not. Returns nil if `items` is nil or if the list formatter cannot generate a string representation for all items in the array.
     */
    stringFromItems$(items: _NSArray): _NSString | null;
    /**
     * Inherited from NSFormatter. `obj` must be an instance of NSArray. Returns nil if `obj` is nil, not an instance of NSArray, or if the list formatter cannot generate a string representation for all objects in the array.
     */
    stringForObjectValue$(obj: NobjcObject | null): _NSString | null;
    /**
     * Specifies the locale to format the items. Defaults to autoupdatingCurrentLocale. Also resets to autoupdatingCurrentLocale on assignment of nil.
     */
    locale(): _NSLocale;
    setLocale$(value: _NSLocale): void;
    /**
     * Specifies how each object should be formatted. If not set, the object is formatted using its instance method in the following order: -descriptionWithLocale:, -localizedDescription, and -description.
     */
    itemFormatter(): _NSFormatter | null;
    setItemFormatter$(value: _NSFormatter | null): void;
}
