1 | import { BuildContext, ChangedFile } from './util/interfaces';
|
2 | export declare function templateUpdate(changedFiles: ChangedFile[], context: BuildContext): Promise<void>;
|
3 | export declare function inlineTemplate(sourceText: string, sourcePath: string): string;
|
4 | export declare function updateTemplate(componentDir: string, match: TemplateUrlMatch): string;
|
5 | export declare function replaceTemplateUrl(match: TemplateUrlMatch, htmlFilePath: string, templateContent: string): string;
|
6 | export declare function replaceExistingJsTemplate(existingSourceText: string, newTemplateContent: string, htmlFilePath: string): string;
|
7 | export declare function getTemplateFormat(htmlFilePath: string, content: string): string;
|
8 | export declare function getTemplateMatch(str: string): TemplateUrlMatch;
|
9 | export interface TemplateUrlMatch {
|
10 | start: number;
|
11 | end: number;
|
12 | component: string;
|
13 | templateProperty: string;
|
14 | templateUrl: string;
|
15 | }
|