1 |
|
2 |
|
3 |
|
4 |
|
5 | export type Locale = string[] | string | false | undefined;
|
6 |
|
7 |
|
8 |
|
9 | export interface PascalCaseOptions extends Options {
|
10 | mergeAmbiguousCharacters?: boolean;
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 | export interface Options {
|
16 | locale?: Locale;
|
17 | split?: (value: string) => string[];
|
18 |
|
19 | separateNumbers?: boolean;
|
20 | delimiter?: string;
|
21 | prefixCharacters?: string;
|
22 | suffixCharacters?: string;
|
23 | }
|
24 |
|
25 |
|
26 |
|
27 | export declare function split(value: string): string[];
|
28 |
|
29 |
|
30 |
|
31 | export declare function splitSeparateNumbers(value: string): string[];
|
32 |
|
33 |
|
34 |
|
35 | export declare function noCase(input: string, options?: Options): string;
|
36 |
|
37 |
|
38 |
|
39 | export declare function camelCase(input: string, options?: PascalCaseOptions): string;
|
40 |
|
41 |
|
42 |
|
43 | export declare function pascalCase(input: string, options?: PascalCaseOptions): string;
|
44 |
|
45 |
|
46 |
|
47 | export declare function pascalSnakeCase(input: string, options?: Options): string;
|
48 |
|
49 |
|
50 |
|
51 | export declare function capitalCase(input: string, options?: Options): string;
|
52 |
|
53 |
|
54 |
|
55 | export declare function constantCase(input: string, options?: Options): string;
|
56 |
|
57 |
|
58 |
|
59 | export declare function dotCase(input: string, options?: Options): string;
|
60 |
|
61 |
|
62 |
|
63 | export declare function kebabCase(input: string, options?: Options): string;
|
64 |
|
65 |
|
66 |
|
67 | export declare function pathCase(input: string, options?: Options): string;
|
68 |
|
69 |
|
70 |
|
71 | export declare function sentenceCase(input: string, options?: Options): string;
|
72 |
|
73 |
|
74 |
|
75 | export declare function snakeCase(input: string, options?: Options): string;
|
76 |
|
77 |
|
78 |
|
79 | export declare function trainCase(input: string, options?: Options): string;
|