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



/**
 * An object that runs the ICU4X locale fallback algorithm with specific configurations.
 *
 * See the [Rust documentation for `LocaleFallbacker`](https://docs.rs/icu_locale/2.1.1/icu_locale/struct.LocaleFallbacker.html) for more information.
 *
 * See the [Rust documentation for `LocaleFallbackerWithConfig`](https://docs.rs/icu/2.1.1/icu/locale/fallback/struct.LocaleFallbackerWithConfig.html) for more information.
 */
export class LocaleFallbackerWithConfig {
    /** @internal */
    get ffiValue(): pointer;
    /** @internal */
    constructor();


    /**
     * Creates an iterator from a locale with each step of fallback.
     *
     * See the [Rust documentation for `fallback_for`](https://docs.rs/icu_locale/2.1.1/icu_locale/struct.LocaleFallbacker.html#method.fallback_for) for more information.
     */
    fallbackForLocale(locale: Locale): LocaleFallbackIterator;
}