• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { DataError } from "./DataError"
3import type { DataProvider } from "./DataProvider"
4import type { Locale } from "./Locale"
5import type { TitlecaseOptions } from "./TitlecaseOptions"
6import type { TitlecaseOptions_obj } from "./TitlecaseOptions"
7import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
8
9
10/** See the [Rust documentation for `TitlecaseMapper`](https://docs.rs/icu/latest/icu/casemap/struct.TitlecaseMapper.html) for more information.
11*/
12
13
14export class TitlecaseMapper {
15
16    get ffiValue(): pointer;
17
18    static createWithProvider(provider: DataProvider): TitlecaseMapper;
19
20    titlecaseSegment(s: string, locale: Locale, options: TitlecaseOptions_obj): string;
21
22    constructor();
23}