1 | import { ComponentCompilerEvent, Config } from '@stencil/core/internal';
|
2 | import type { PackageJSON } from './types';
|
3 | export declare const toLowerCase: (str: string) => string;
|
4 | export declare const dashToPascalCase: (str: string) => string;
|
5 | export declare function sortBy<T>(array: T[], prop: (item: T) => string): T[];
|
6 | export declare function normalizePath(str: string): string;
|
7 | export declare function relativeImport(pathFrom: string, pathTo: string, ext?: string): string;
|
8 | export declare function isRelativePath(path: string): boolean | "";
|
9 | export declare function readPackageJson(config: Config, rootDir: string): Promise<PackageJSON>;
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare const formatToQuotedList: (list: readonly string[]) => string;
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare const createImportStatement: (imports: string[], module: string) => string;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | export declare const createComponentEventTypeImports: (componentTagName: string, events: readonly ComponentCompilerEvent[], options: {
|
32 | componentCorePackage: string;
|
33 | includeImportCustomElements?: boolean;
|
34 | customElementsDir?: string;
|
35 | }) => string;
|