import { Rule, CustomGenerator } from '../types'; export declare enum LangType { ES6 = "ES6", Typescript = "Typescript" } /** * * Returns an module.rule object for the babel loader * @param {string[]} includeFolders An array of folders to include * @returns {Rule} A configuration containing the babel-loader with env preset */ export declare function getBabelLoader(includeFolders: string[]): Rule; /** * * Returns an module.rule object for the typescript loader * @param {string[]} includeFolders An array of folders to include * @returns {Rule} A configuration containing the ts-loader */ export declare function getTypescriptLoader(includeFolders: string[]): Rule; export default function language(self: CustomGenerator, langType: string): void;