1// generated by diplomat-tool 2import type { DataError } from "./DataError" 3import type { DataProvider } from "./DataProvider" 4import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 5 6 7/** An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property. 8* 9*See the [Rust documentation for `properties`](https://docs.rs/icu/latest/icu/properties/index.html) for more information. 10* 11*See the [Rust documentation for `EmojiSetData`](https://docs.rs/icu/latest/icu/properties/struct.EmojiSetData.html) for more information. 12* 13*See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/properties/struct.EmojiSetData.html#method.new) for more information. 14* 15*See the [Rust documentation for `EmojiSetDataBorrowed`](https://docs.rs/icu/latest/icu/properties/struct.EmojiSetDataBorrowed.html) for more information. 16*/ 17 18 19export class EmojiSetData { 20 21 get ffiValue(): pointer; 22 23 containsStr(s: string): boolean; 24 25 contains(cp: codepoint): boolean; 26 27 static createBasic(): EmojiSetData; 28 29 static createBasicWithProvider(provider: DataProvider): EmojiSetData; 30}