forked from shabados/gurmukhi-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
29 lines (17 loc) · 764 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export function toUnicode(text: string): string
export function toAscii(text: string): string
export function toEnglish(text: string): string
export function toHindi(text: string): string
export function toShahmukhi(text: string): string
export function firstLetters(text: string): string
export function isGurmukhi(text: string, exhaustive?: boolean): boolean
export function stripAccents(text: string): string
interface StripVishraamsOptions {
heavy?: boolean;
medium?: boolean;
light?: boolean;
}
export function stripVishraams(text: string, options?: StripVishraamsOptions): string
export function stripEndings(text: string): string
export function countSyllables(text: string): number
export function toSyllabicSymbols(text: string): string