// generated by diplomat-tool
import type { Locale } from "./Locale"
import type { LocaleFallbackConfig } from "./LocaleFallbackConfig"
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 `LocaleFallbackerWithConfig`](https://docs.rs/icu/2.2.0/icu/locale/fallback/struct.LocaleFallbackerWithConfig.html) for more information.
 */
export class LocaleFallbackerWithConfig {
    /** @internal */
    get ffiValue(): pointer;
    /** @internal */
    constructor();


    /**
     * Returns the associated config.
     *
     * See the [Rust documentation for `config`](https://docs.rs/icu/2.2.0/icu/locale/fallback/struct.LocaleFallbackerWithConfig.html#method.config) for more information.
     */
    config(): LocaleFallbackConfig;

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