/** * @file normalizeTemplateConfig * @author Cuttle Cong * @date 2018/3/25 * @description */ import TemplateConfig, { Hook, Loader } from '../../types/TemplateConfig'; export declare type NormalizedTemplateConfig = TemplateConfig & { hooks?: { [hookName: string]: Array; }; loaders?: { [loaderId: string]: Loader; }; root: string; }; export default function normalize(templateConfig: TemplateConfig, templateConfigPath?: string): Promise;