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



/**
 * An object that represents the Script_Extensions property for a single character
 *
 * See the [Rust documentation for `ScriptExtensionsSet`](https://docs.rs/icu/2.1.1/icu/properties/script/struct.ScriptExtensionsSet.html) for more information.
 */
export class ScriptExtensionsSet {
    /** @internal */
    get ffiValue(): pointer;
    /** @internal */
    constructor();


    /**
     * Check if the Script_Extensions property of the given code point covers the given script
     *
     * See the [Rust documentation for `contains`](https://docs.rs/icu/2.1.1/icu/properties/script/struct.ScriptExtensionsSet.html#method.contains) for more information.
     */
    contains(script: number): boolean;

    /**
     * Get the number of scripts contained in here
     *
     * See the [Rust documentation for `iter`](https://docs.rs/icu/2.1.1/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter) for more information.
     */
    get count(): number;

    /**
     * Get script at index
     *
     * See the [Rust documentation for `iter`](https://docs.rs/icu/2.1.1/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter) for more information.
     */
    scriptAt(index: number): number | null;
}